Struct rin::scene::time::Clock [−][src]
pub struct Clock { /* fields omitted */ }Implementations
impl Clock[src]
impl Clock[src]pub fn new() -> Clock[src]
pub fn new_with_wall_time(now: Instant) -> Clock[src]
pub fn tick<S>(&mut self, step: &mut S) where
S: TimeStep, [src]
S: TimeStep,
pub fn tick_with_wall_time<S>(&mut self, step: &mut S, now: Instant) where
S: TimeStep, [src]
S: TimeStep,
pub fn tick_with_wall_time_delta<S>(&mut self, step: &mut S, delta: Duration) where
S: TimeStep, [src]
S: TimeStep,
pub fn set_multiplier(&mut self, multiplier: f64)[src]
pub fn game_time(&self) -> FloatDuration[src]
pub fn wall_time(&self) -> FloatDuration[src]
pub fn game_time_delta(&self) -> FloatDuration[src]
pub fn wall_time_delta(&self) -> FloatDuration[src]
pub fn frame_number(&self) -> u64[src]
pub fn time_stats(&self) -> TimeStats[src]
pub fn instant_at_frame_start(&self) -> Instant[src]
Auto Trait Implementations
impl RefUnwindSafe for Clock
impl Send for Clock
impl Sync for Clock
impl Unpin for Clock
impl UnwindSafe for Clock
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync, [src]
impl<T> DowncastSync for T where
T: Any + Send + Sync, [src]impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]pub fn to_subset(&self) -> Option<SS>[src]
pub fn is_in_subset(&self) -> bool[src]
pub fn to_subset_unchecked(&self) -> SS[src]
pub fn from_subset(element: &SS) -> SP[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]