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