pub struct FrameTime {
pub now: Seconds,
pub dt: f64,
}Expand description
Wall-clock facts of this frame; both values come from the host clock the runtime was given, never read inside the crate.
Fields§
§now: SecondsHost clock of the tick.
dt: f64Seconds since the previous painted frame of this window.
Trait Implementations§
impl Copy for FrameTime
impl StructuralPartialEq for FrameTime
Auto Trait Implementations§
impl Forget for FrameTime
impl Freeze for FrameTime
impl RefUnwindSafe for FrameTime
impl Send for FrameTime
impl Sync for FrameTime
impl Unpin for FrameTime
impl UnsafeUnpin for FrameTime
impl UnwindSafe for FrameTime
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