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