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