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