pub struct Pointer {
pub phase: u8,
pub x: f32,
pub y: f32,
pub at_ms: u64,
}Expand description
One pointer sample on the typed fast path. x and y are in units the app chooses (cells,
pixels, a 0..1 canvas); the engine never interprets them.
Fields§
§phase: u8§x: f32§y: f32§at_ms: u64Implementations§
Trait Implementations§
impl Copy for Pointer
impl StructuralPartialEq for Pointer
Auto Trait Implementations§
impl Forget for Pointer
impl Freeze for Pointer
impl Move for Pointer
impl RefUnwindSafe for Pointer
impl Send for Pointer
impl Sync for Pointer
impl Unpin for Pointer
impl UnsafeUnpin for Pointer
impl UnwindSafe for Pointer
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