pub struct DeviceAddedEvent { /* private fields */ }
Expand description
Signals that a device has been added to the context.
The device will not be read until the next time the user calls
Libinput::dispatch
and data is available.
This allows setting up initial device configuration before any events are created.
Trait Implementations§
Source§impl AsRaw<libinput_event_device_notify> for DeviceAddedEvent
impl AsRaw<libinput_event_device_notify> for DeviceAddedEvent
Source§fn as_raw(&self) -> *const libinput_event_device_notify
fn as_raw(&self) -> *const libinput_event_device_notify
Receive a raw pointer representing this type.
Source§impl Context for DeviceAddedEvent
impl Context for DeviceAddedEvent
Source§impl Debug for DeviceAddedEvent
impl Debug for DeviceAddedEvent
Source§impl Drop for DeviceAddedEvent
impl Drop for DeviceAddedEvent
Source§impl EventTrait for DeviceAddedEvent
impl EventTrait for DeviceAddedEvent
Source§impl Hash for DeviceAddedEvent
impl Hash for DeviceAddedEvent
Source§impl PartialEq for DeviceAddedEvent
impl PartialEq for DeviceAddedEvent
impl Eq for DeviceAddedEvent
Auto Trait Implementations§
impl Freeze for DeviceAddedEvent
impl !RefUnwindSafe for DeviceAddedEvent
impl !Send for DeviceAddedEvent
impl !Sync for DeviceAddedEvent
impl Unpin for DeviceAddedEvent
impl !UnwindSafe for DeviceAddedEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> DeviceEventTrait for T
impl<T> DeviceEventTrait for T
Source§fn into_device_event(self) -> DeviceEventwhere
Self: Sized,
fn into_device_event(self) -> DeviceEventwhere
Self: Sized,
Convert into a general
DeviceEvent
again