pub struct PhaseEvent {
pub phase: PhaseId,
pub tick: Arc<TickEvent>,
}
Expand description
The primary event that drives the engine’s internal cycle.
It is fired for each configured phase within a single master TickEvent
.
Fields§
§phase: PhaseId
The ID of the phase that is currently active.
tick: Arc<TickEvent>
A shared pointer to the master tick this phase belongs to.
Trait Implementations§
Source§impl Clone for PhaseEvent
impl Clone for PhaseEvent
Source§fn clone(&self) -> PhaseEvent
fn clone(&self) -> PhaseEvent
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 moreAuto Trait Implementations§
impl Freeze for PhaseEvent
impl RefUnwindSafe for PhaseEvent
impl Send for PhaseEvent
impl Sync for PhaseEvent
impl Unpin for PhaseEvent
impl UnwindSafe for PhaseEvent
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