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