Struct input::ffi::libinput_event_switch
source · 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
sourceimpl AsRaw<libinput_event_switch> for SwitchEvent
impl AsRaw<libinput_event_switch> for SwitchEvent
sourcefn as_raw(&self) -> *const libinput_event_switch
fn as_raw(&self) -> *const libinput_event_switch
Receive a raw pointer representing this type.
sourceimpl AsRaw<libinput_event_switch> for SwitchToggleEvent
impl AsRaw<libinput_event_switch> for SwitchToggleEvent
sourcefn as_raw(&self) -> *const libinput_event_switch
fn as_raw(&self) -> *const libinput_event_switch
Receive a raw pointer representing this type.
sourceimpl Clone for libinput_event_switch
impl Clone for libinput_event_switch
sourcefn clone(&self) -> libinput_event_switch
fn clone(&self) -> libinput_event_switch
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for libinput_event_switch
impl Debug for libinput_event_switch
sourceimpl FromRaw<libinput_event_switch> for SwitchEvent
impl FromRaw<libinput_event_switch> for SwitchEvent
impl Copy for libinput_event_switch
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more