pub struct PointerEventTime {
pub platform_time_ms: Option<i64>,
pub animation_time_nanos: u64,
}Expand description
Platform and animation-clock timestamps for one pointer sample.
Fields§
§platform_time_ms: Option<i64>Timestamp supplied by the platform, in its millisecond clock domain.
animation_time_nanos: u64Timestamp in the animation frame-clock domain.
Trait Implementations§
Source§impl Clone for PointerEventTime
impl Clone for PointerEventTime
Source§fn clone(&self) -> PointerEventTime
fn clone(&self) -> PointerEventTime
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 PointerEventTime
Source§impl Debug for PointerEventTime
impl Debug for PointerEventTime
impl Eq for PointerEventTime
Source§impl PartialEq for PointerEventTime
impl PartialEq for PointerEventTime
impl StructuralPartialEq for PointerEventTime
Auto Trait Implementations§
impl Freeze for PointerEventTime
impl RefUnwindSafe for PointerEventTime
impl Send for PointerEventTime
impl Sync for PointerEventTime
impl Unpin for PointerEventTime
impl UnsafeUnpin for PointerEventTime
impl UnwindSafe for PointerEventTime
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