Struct xcb::xinput::DeviceCtlBuf
source · [−]pub struct DeviceCtlBuf { /* private fields */ }
Implementations
sourceimpl DeviceCtlBuf
impl DeviceCtlBuf
sourcepub fn new(len: u16, data: DeviceCtlData) -> DeviceCtlBuf
pub fn new(len: u16, data: DeviceCtlData) -> DeviceCtlBuf
Construct a new DeviceCtlBuf.
Methods from Deref<Target = DeviceCtl>
pub fn control_id(&self) -> DeviceControl
pub fn len(&self) -> u16
pub fn data(&self) -> DeviceCtlData
Trait Implementations
sourceimpl Borrow<DeviceCtl> for DeviceCtlBuf
impl Borrow<DeviceCtl> for DeviceCtlBuf
sourceimpl Clone for DeviceCtlBuf
impl Clone for DeviceCtlBuf
sourcefn clone(&self) -> DeviceCtlBuf
fn clone(&self) -> DeviceCtlBuf
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 DeviceCtlBuf
impl Debug for DeviceCtlBuf
Auto Trait Implementations
impl RefUnwindSafe for DeviceCtlBuf
impl Send for DeviceCtlBuf
impl Sync for DeviceCtlBuf
impl Unpin for DeviceCtlBuf
impl UnwindSafe for DeviceCtlBuf
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