pub struct PhaseConfig {
pub id: PhaseId,
pub label: String,
}
Expand description
Defines a single phase in the engine’s cycle.
Fields§
§id: PhaseId
The numeric ID for this phase. Listeners will subscribe to this ID.
label: String
A human-readable label for debugging and logging purposes.
Trait Implementations§
Source§impl Clone for PhaseConfig
impl Clone for PhaseConfig
Source§fn clone(&self) -> PhaseConfig
fn clone(&self) -> PhaseConfig
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 moreSource§impl Debug for PhaseConfig
impl Debug for PhaseConfig
Source§impl<'de> Deserialize<'de> for PhaseConfig
impl<'de> Deserialize<'de> for PhaseConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PhaseConfig
impl RefUnwindSafe for PhaseConfig
impl Send for PhaseConfig
impl Sync for PhaseConfig
impl Unpin for PhaseConfig
impl UnwindSafe for PhaseConfig
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