Struct xcb::xinput::DeviceEnableState
source · pub struct DeviceEnableState { /* private fields */ }
Implementations§
source§impl DeviceEnableState
impl DeviceEnableState
sourcepub fn new(control_id: DeviceControl, len: u16, enable: u8) -> DeviceEnableState
pub fn new(control_id: DeviceControl, len: u16, enable: u8) -> DeviceEnableState
Construct a new DeviceEnableState.
pub fn control_id(&self) -> DeviceControl
pub fn len(&self) -> u16
pub fn enable(&self) -> u8
Trait Implementations§
source§impl Clone for DeviceEnableState
impl Clone for DeviceEnableState
source§fn clone(&self) -> DeviceEnableState
fn clone(&self) -> DeviceEnableState
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 moresource§impl Debug for DeviceEnableState
impl Debug for DeviceEnableState
impl Copy for DeviceEnableState
Auto Trait Implementations§
impl Freeze for DeviceEnableState
impl RefUnwindSafe for DeviceEnableState
impl Send for DeviceEnableState
impl Sync for DeviceEnableState
impl Unpin for DeviceEnableState
impl UnwindSafe for DeviceEnableState
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)