pub struct FrameInput {
pub timestamp_ms: f64,
}Expand description
One host-supplied animation callback timestamp, in browser milliseconds.
Fields§
§timestamp_ms: f64Monotonic requestAnimationFrame timestamp within the active clock epoch.
Trait Implementations§
Source§impl Clone for FrameInput
impl Clone for FrameInput
Source§fn clone(&self) -> FrameInput
fn clone(&self) -> FrameInput
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 FrameInput
Source§impl Debug for FrameInput
impl Debug for FrameInput
Source§impl PartialEq for FrameInput
impl PartialEq for FrameInput
Source§fn eq(&self, other: &FrameInput) -> bool
fn eq(&self, other: &FrameInput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FrameInput
Auto Trait Implementations§
impl Freeze for FrameInput
impl RefUnwindSafe for FrameInput
impl Send for FrameInput
impl Sync for FrameInput
impl Unpin for FrameInput
impl UnsafeUnpin for FrameInput
impl UnwindSafe for FrameInput
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