pub enum Stage {
Startup,
PreUpdate,
Update,
PostUpdate,
PreRender,
Render,
PostRender,
}
Expand description
The possible stages in the engine pipeline
Variants§
Startup
Statup stage, runs only one time when the engine start
PreUpdate
Run just before the main update stage
Update
Main stage
PostUpdate
Run after the update stage
PreRender
Run before the render stage
Render
Render stage, draws the new state
PostRender
Run after the render stage
Trait Implementations§
impl Eq for Stage
impl StructuralPartialEq for Stage
Auto Trait Implementations§
impl Freeze for Stage
impl RefUnwindSafe for Stage
impl Send for Stage
impl Sync for Stage
impl Unpin for Stage
impl UnwindSafe for Stage
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