Struct xcb::xinput::KeyClassBuf
source · pub struct KeyClassBuf { /* private fields */ }
Implementations§
source§impl KeyClassBuf
impl KeyClassBuf
sourcepub fn new(
type: DeviceClassType,
len: u16,
source: Device,
keys: &[u32],
) -> KeyClassBuf
pub fn new( type: DeviceClassType, len: u16, source: Device, keys: &[u32], ) -> KeyClassBuf
Construct a new KeyClassBuf.
Methods from Deref<Target = KeyClass>§
pub fn type(&self) -> DeviceClassType
pub fn len(&self) -> u16
pub fn source(&self) -> Device
pub fn keys(&self) -> &[u32]
Trait Implementations§
source§impl Borrow<KeyClass> for KeyClassBuf
impl Borrow<KeyClass> for KeyClassBuf
source§impl Clone for KeyClassBuf
impl Clone for KeyClassBuf
source§fn clone(&self) -> KeyClassBuf
fn clone(&self) -> KeyClassBuf
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 KeyClassBuf
impl Debug for KeyClassBuf
Auto Trait Implementations§
impl Freeze for KeyClassBuf
impl RefUnwindSafe for KeyClassBuf
impl Send for KeyClassBuf
impl Sync for KeyClassBuf
impl Unpin for KeyClassBuf
impl UnwindSafe for KeyClassBuf
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
)