pub struct FrameCtx {
pub frame: FrameIndex,
pub dt: f32,
pub now: Timestamp,
}Expand description
Context passed to every system each frame.
Fields§
§frame: FrameIndex§dt: f32§now: TimestampAuto Trait Implementations§
impl Freeze for FrameCtx
impl RefUnwindSafe for FrameCtx
impl Send for FrameCtx
impl Sync for FrameCtx
impl Unpin for FrameCtx
impl UnsafeUnpin for FrameCtx
impl UnwindSafe for FrameCtx
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