Struct makepad_widgets::shader::std::event::TouchPoint
pub struct TouchPoint {
pub state: TouchState,
pub abs: DVec2,
pub uid: u64,
pub rotation_angle: f64,
pub force: f64,
pub radius: DVec2,
pub handled: Cell<Area>,
pub sweep_lock: Cell<Area>,
}Fields§
§state: TouchState§abs: DVec2§uid: u64§rotation_angle: f64§force: f64§radius: DVec2§handled: Cell<Area>§sweep_lock: Cell<Area>Trait Implementations§
§impl Clone for TouchPoint
impl Clone for TouchPoint
§fn clone(&self) -> TouchPoint
fn clone(&self) -> TouchPoint
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for TouchPoint
impl Send for TouchPoint
impl !Sync for TouchPoint
impl Unpin for TouchPoint
impl UnwindSafe for TouchPoint
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