pub struct ContactGeometry {
pub width: f32,
pub height: f32,
}Expand description
The size of an input, usually touch.
If this is not provided by the underlying API, platform, or device, then it will default to a single pixel.
Fields§
§width: f32The width of the contact geometry.
height: f32The height of the contact geometry.
Trait Implementations§
Source§impl Clone for ContactGeometry
impl Clone for ContactGeometry
Source§fn clone(&self) -> ContactGeometry
fn clone(&self) -> ContactGeometry
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 ContactGeometry
impl Debug for ContactGeometry
Source§impl Default for ContactGeometry
impl Default for ContactGeometry
Source§impl PartialEq for ContactGeometry
impl PartialEq for ContactGeometry
impl Copy for ContactGeometry
impl StructuralPartialEq for ContactGeometry
Auto Trait Implementations§
impl Freeze for ContactGeometry
impl RefUnwindSafe for ContactGeometry
impl Send for ContactGeometry
impl Sync for ContactGeometry
impl Unpin for ContactGeometry
impl UnwindSafe for ContactGeometry
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