Struct xcb::xinput::DeviceAbsCalibState
source · pub struct DeviceAbsCalibState { /* private fields */ }
Implementations§
source§impl DeviceAbsCalibState
impl DeviceAbsCalibState
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,
) -> DeviceAbsCalibState
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, ) -> DeviceAbsCalibState
Construct a new DeviceAbsCalibState.
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 DeviceAbsCalibState
impl Clone for DeviceAbsCalibState
source§fn clone(&self) -> DeviceAbsCalibState
fn clone(&self) -> DeviceAbsCalibState
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 DeviceAbsCalibState
impl Debug for DeviceAbsCalibState
impl Copy for DeviceAbsCalibState
Auto Trait Implementations§
impl Freeze for DeviceAbsCalibState
impl RefUnwindSafe for DeviceAbsCalibState
impl Send for DeviceAbsCalibState
impl Sync for DeviceAbsCalibState
impl Unpin for DeviceAbsCalibState
impl UnwindSafe for DeviceAbsCalibState
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
)