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