Struct xcb::xinput::DeviceStateBuf
source · pub struct DeviceStateBuf { /* private fields */ }
Implementations§
source§impl DeviceStateBuf
impl DeviceStateBuf
sourcepub fn new(len: u16, data: DeviceStateData) -> DeviceStateBuf
pub fn new(len: u16, data: DeviceStateData) -> DeviceStateBuf
Construct a new DeviceStateBuf.
Methods from Deref<Target = DeviceState>§
pub fn control_id(&self) -> DeviceControl
pub fn len(&self) -> u16
pub fn data(&self) -> DeviceStateData
Trait Implementations§
source§impl Borrow<DeviceState> for DeviceStateBuf
impl Borrow<DeviceState> for DeviceStateBuf
source§fn borrow(&self) -> &DeviceState
fn borrow(&self) -> &DeviceState
Immutably borrows from an owned value. Read more
source§impl Clone for DeviceStateBuf
impl Clone for DeviceStateBuf
source§fn clone(&self) -> DeviceStateBuf
fn clone(&self) -> DeviceStateBuf
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 DeviceStateBuf
impl Debug for DeviceStateBuf
Auto Trait Implementations§
impl Freeze for DeviceStateBuf
impl RefUnwindSafe for DeviceStateBuf
impl Send for DeviceStateBuf
impl Sync for DeviceStateBuf
impl Unpin for DeviceStateBuf
impl UnwindSafe for DeviceStateBuf
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
)