#[repr(C)]pub struct NextPhase {
pub phase_id: String,
pub duration_until: UniquePtr<FloatWrapper>,
}Expand description
Shared struct for a NextPhase in a PhaseRing.
- phase_id: ID of the
NextPhase. - duration_until: Optional field to suggest a default duration of the current
Phaseuntil theNextPhase. Redefinition is necessary since std::optionalisn’t supported.
Fields§
§phase_id: String§duration_until: UniquePtr<FloatWrapper>Trait Implementations§
Source§impl ExternType for NextPhase
impl ExternType for NextPhase
impl VectorElement for NextPhase
Auto Trait Implementations§
impl Freeze for NextPhase
impl RefUnwindSafe for NextPhase
impl Send for NextPhase
impl Sync for NextPhase
impl Unpin for NextPhase
impl UnwindSafe for NextPhase
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