Struct xcb::xinput::InputStateBuf
source · [−]pub struct InputStateBuf { /* private fields */ }
Implementations
sourceimpl 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
sourceimpl Borrow<InputState> for InputStateBuf
impl Borrow<InputState> for InputStateBuf
sourcefn borrow(&self) -> &InputState
fn borrow(&self) -> &InputState
Immutably borrows from an owned value. Read more
sourceimpl Clone for InputStateBuf
impl Clone for InputStateBuf
sourcefn clone(&self) -> InputStateBuf
fn clone(&self) -> InputStateBuf
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InputStateBuf
impl Debug for InputStateBuf
sourceimpl Deref for InputStateBuf
impl Deref for InputStateBuf
type Target = InputState
type Target = InputState
The resulting type after dereferencing.
Auto Trait Implementations
impl RefUnwindSafe for InputStateBuf
impl Send for InputStateBuf
impl Sync for InputStateBuf
impl Unpin for InputStateBuf
impl UnwindSafe for InputStateBuf
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more