pub struct TouchConfig {
pub switch_xy: bool,
pub mirrored_x: bool,
pub mirrored_y: bool,
pub raw_x_max: i32,
pub raw_y_max: i32,
pub screen_w: i32,
pub screen_h: i32,
}Expand description
Per-device touch configuration.
Fields§
§switch_xy: bool§mirrored_x: bool§mirrored_y: bool§raw_x_max: i32§raw_y_max: i32§screen_w: i32§screen_h: i32Trait Implementations§
Source§impl Clone for TouchConfig
impl Clone for TouchConfig
Source§fn clone(&self) -> TouchConfig
fn clone(&self) -> TouchConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TouchConfig
Auto Trait Implementations§
impl Freeze for TouchConfig
impl RefUnwindSafe for TouchConfig
impl Send for TouchConfig
impl Sync for TouchConfig
impl Unpin for TouchConfig
impl UnsafeUnpin for TouchConfig
impl UnwindSafe for TouchConfig
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