Struct xcb::xinput::DeviceAbsCalibCtl
source · pub struct DeviceAbsCalibCtl { /* private fields */ }
Implementations§
source§impl DeviceAbsCalibCtl
impl DeviceAbsCalibCtl
sourcepub fn new(
control_id: DeviceControl,
len: u16,
min_x: i32,
max_x: i32,
min_y: i32,
max_y: i32,
flip_x: u32,
flip_y: u32,
rotation: u32,
button_threshold: u32,
) -> DeviceAbsCalibCtl
pub fn new( control_id: DeviceControl, len: u16, min_x: i32, max_x: i32, min_y: i32, max_y: i32, flip_x: u32, flip_y: u32, rotation: u32, button_threshold: u32, ) -> DeviceAbsCalibCtl
Construct a new DeviceAbsCalibCtl.
pub fn control_id(&self) -> DeviceControl
pub fn len(&self) -> u16
pub fn min_x(&self) -> i32
pub fn max_x(&self) -> i32
pub fn min_y(&self) -> i32
pub fn max_y(&self) -> i32
pub fn flip_x(&self) -> u32
pub fn flip_y(&self) -> u32
pub fn rotation(&self) -> u32
Trait Implementations§
source§impl Clone for DeviceAbsCalibCtl
impl Clone for DeviceAbsCalibCtl
source§fn clone(&self) -> DeviceAbsCalibCtl
fn clone(&self) -> DeviceAbsCalibCtl
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 DeviceAbsCalibCtl
impl Debug for DeviceAbsCalibCtl
impl Copy for DeviceAbsCalibCtl
Auto Trait Implementations§
impl Freeze for DeviceAbsCalibCtl
impl RefUnwindSafe for DeviceAbsCalibCtl
impl Send for DeviceAbsCalibCtl
impl Sync for DeviceAbsCalibCtl
impl Unpin for DeviceAbsCalibCtl
impl UnwindSafe for DeviceAbsCalibCtl
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
)