Struct WorldLifecycleEvent
pub struct WorldLifecycleEvent<'a> {
pub context: &'a LifecycleContext,
pub phase: WorldPhase,
pub error_text: &'a str,
}Expand description
What Hooks::world_lifecycle is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§context: &'a LifecycleContext§phase: WorldPhase§error_text: &'a strAuto Trait Implementations§
impl<'a> Freeze for WorldLifecycleEvent<'a>
impl<'a> RefUnwindSafe for WorldLifecycleEvent<'a>
impl<'a> Send for WorldLifecycleEvent<'a>
impl<'a> Sync for WorldLifecycleEvent<'a>
impl<'a> Unpin for WorldLifecycleEvent<'a>
impl<'a> UnsafeUnpin for WorldLifecycleEvent<'a>
impl<'a> UnwindSafe for WorldLifecycleEvent<'a>
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