#[repr(C)]pub struct EcsTickSource {
pub tick: bool,
pub time_elapsed: f32,
}Expand description
Component used to provide a tick source to systems
Fields§
§tick: bool< True if providing tick
time_elapsed: f32< Time elapsed since last tick
Trait Implementations§
Source§impl Clone for EcsTickSource
impl Clone for EcsTickSource
Source§fn clone(&self) -> EcsTickSource
fn clone(&self) -> EcsTickSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EcsTickSource
impl Debug for EcsTickSource
impl Copy for EcsTickSource
Auto Trait Implementations§
impl Freeze for EcsTickSource
impl RefUnwindSafe for EcsTickSource
impl Send for EcsTickSource
impl Sync for EcsTickSource
impl Unpin for EcsTickSource
impl UnwindSafe for EcsTickSource
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