pub struct FrameStamp {
pub timestamp: f64,
pub target_timestamp: Option<f64>,
}Expand description
Timing supplied by a native display scheduler. Seconds on a monotonic clock; its epoch
is platform-specific. target_timestamp is absent when the platform cannot predict presentation.
Fields§
§timestamp: f64§target_timestamp: Option<f64>Implementations§
Trait Implementations§
Source§impl Clone for FrameStamp
impl Clone for FrameStamp
Source§fn clone(&self) -> FrameStamp
fn clone(&self) -> FrameStamp
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 FrameStamp
Source§impl Debug for FrameStamp
impl Debug for FrameStamp
Source§impl PartialEq for FrameStamp
impl PartialEq for FrameStamp
impl StructuralPartialEq for FrameStamp
Auto Trait Implementations§
impl Freeze for FrameStamp
impl RefUnwindSafe for FrameStamp
impl Send for FrameStamp
impl Sync for FrameStamp
impl Unpin for FrameStamp
impl UnsafeUnpin for FrameStamp
impl UnwindSafe for FrameStamp
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