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