#[non_exhaustive]pub struct TouchMouseInfo {
pub x_max_count: u16,
pub y_max_count: u16,
pub resolution_dpi: u16,
pub origin: Origin,
pub max_finger_count: u8,
pub width_height_data_range: u8,
}Expand description
Touch-mouse characteristics from
get_touchpad_info.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.x_max_count: u16Maximum X count in dots.
y_max_count: u16Maximum Y count in dots.
resolution_dpi: u16Sensor resolution in DPI (assumed equal for X and Y).
origin: OriginPosition of the coordinate origin.
max_finger_count: u8Maximum number of reported fingers.
width_height_data_range: u8Maximum value of the touch-point width/height data.
Trait Implementations§
Source§impl Clone for TouchMouseInfo
impl Clone for TouchMouseInfo
Source§fn clone(&self) -> TouchMouseInfo
fn clone(&self) -> TouchMouseInfo
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 TouchMouseInfo
Source§impl Debug for TouchMouseInfo
impl Debug for TouchMouseInfo
impl Eq for TouchMouseInfo
Source§impl Hash for TouchMouseInfo
impl Hash for TouchMouseInfo
Source§impl PartialEq for TouchMouseInfo
impl PartialEq for TouchMouseInfo
impl StructuralPartialEq for TouchMouseInfo
Auto Trait Implementations§
impl Freeze for TouchMouseInfo
impl RefUnwindSafe for TouchMouseInfo
impl Send for TouchMouseInfo
impl Sync for TouchMouseInfo
impl Unpin for TouchMouseInfo
impl UnsafeUnpin for TouchMouseInfo
impl UnwindSafe for TouchMouseInfo
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