Struct libinput_event
#[repr(C)]pub struct libinput_event { /* private fields */ }
Expand description
@ingroup event @struct libinput_event
The base event type. Use libinput_event_get_pointer_event() or similar to get the actual event type.
@warning Unlike other structs events are considered transient and not refcounted.
Trait Implementations§
Source§impl AsRaw<libinput_event> for Event
impl AsRaw<libinput_event> for Event
Source§fn as_raw(&self) -> *const libinput_event
fn as_raw(&self) -> *const libinput_event
Receive a raw pointer representing this type.
§impl Clone for libinput_event
impl Clone for libinput_event
§fn clone(&self) -> libinput_event
fn clone(&self) -> libinput_event
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for libinput_event
impl Debug for libinput_event
Source§impl FromRaw<libinput_event> for Event
impl FromRaw<libinput_event> for Event
impl Copy for libinput_event
Auto Trait Implementations§
impl Freeze for libinput_event
impl RefUnwindSafe for libinput_event
impl Send for libinput_event
impl Sync for libinput_event
impl Unpin for libinput_event
impl UnwindSafe for libinput_event
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