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 Freeze for TimeModule
impl RefUnwindSafe for TimeModule
impl Send for TimeModule
impl Sync for TimeModule
impl Unpin for TimeModule
impl UnwindSafe for TimeModule
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