Struct xcb::xinput::DeviceAbsCalibCtl
source · [−]pub struct DeviceAbsCalibCtl { /* private fields */ }
Implementations
sourceimpl 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
sourceimpl Clone for DeviceAbsCalibCtl
impl Clone for DeviceAbsCalibCtl
sourcefn clone(&self) -> DeviceAbsCalibCtl
fn clone(&self) -> DeviceAbsCalibCtl
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 DeviceAbsCalibCtl
impl Debug for DeviceAbsCalibCtl
impl Copy for DeviceAbsCalibCtl
Auto Trait Implementations
impl RefUnwindSafe for DeviceAbsCalibCtl
impl Send for DeviceAbsCalibCtl
impl Sync for DeviceAbsCalibCtl
impl Unpin for DeviceAbsCalibCtl
impl UnwindSafe for DeviceAbsCalibCtl
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