Struct app_surface::Touch
source · #[repr(C)]pub struct Touch {
pub phase: TouchPhase,
pub position: Vec2,
pub stylus_angle: Option<StylusAngle<f32>>,
pub pressure: f32,
pub major_radius: f32,
pub interval: f32,
}Fields§
§phase: TouchPhase§position: Vec2§stylus_angle: Option<StylusAngle<f32>>§pressure: f32§major_radius: f32§interval: f32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Touch
impl Send for Touch
impl Sync for Touch
impl Unpin for Touch
impl UnwindSafe for Touch
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