Struct zengine_core::TimeModule
source · [−]pub struct TimeModule(pub Option<FrameLimiter>);
Expand description
Adds timing suport to the engine
This module add a Time resource that measure the time passed between each frame
Tuple Fields
0: Option<FrameLimiter>
Optional FrameLimiter to add to the engine
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TimeModule
impl Send for TimeModule
impl Sync for TimeModule
impl Unpin for TimeModule
impl UnwindSafe for TimeModule
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more