Struct libinput_event_switch
#[repr(C)]pub struct libinput_event_switch { /* private fields */ }
Expand description
@ingroup event_switch @struct libinput_event_switch
A switch event representing a changed state in a switch.
@since 1.7
Trait Implementations§
Source§impl AsRaw<libinput_event_switch> for SwitchEvent
impl AsRaw<libinput_event_switch> for SwitchEvent
Source§fn as_raw(&self) -> *const libinput_event_switch
fn as_raw(&self) -> *const libinput_event_switch
Receive a raw pointer representing this type.
Source§impl AsRaw<libinput_event_switch> for SwitchToggleEvent
impl AsRaw<libinput_event_switch> for SwitchToggleEvent
Source§fn as_raw(&self) -> *const libinput_event_switch
fn as_raw(&self) -> *const libinput_event_switch
Receive a raw pointer representing this type.
§impl Clone for libinput_event_switch
impl Clone for libinput_event_switch
§fn clone(&self) -> libinput_event_switch
fn clone(&self) -> libinput_event_switch
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_switch
impl Debug for libinput_event_switch
Source§impl FromRaw<libinput_event_switch> for SwitchEvent
impl FromRaw<libinput_event_switch> for SwitchEvent
impl Copy for libinput_event_switch
Auto Trait Implementations§
impl Freeze for libinput_event_switch
impl RefUnwindSafe for libinput_event_switch
impl Send for libinput_event_switch
impl Sync for libinput_event_switch
impl Unpin for libinput_event_switch
impl UnwindSafe for libinput_event_switch
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