pub enum RoundPhase {
Freezetime,
Live,
Over,
Unknown,
}Expand description
Phase of the active round.
Variants§
Freezetime
Buy-time / freezetime — players cannot move yet.
Live
Round is live.
Over
Round ended, end-of-round delay active.
Unknown
Unrecognized / not-yet-mapped phase.
Trait Implementations§
Source§impl Clone for RoundPhase
impl Clone for RoundPhase
Source§fn clone(&self) -> RoundPhase
fn clone(&self) -> RoundPhase
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 RoundPhase
impl Debug for RoundPhase
Source§impl Default for RoundPhase
impl Default for RoundPhase
Source§fn default() -> RoundPhase
fn default() -> RoundPhase
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RoundPhase
impl<'de> Deserialize<'de> for RoundPhase
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
Source§impl Hash for RoundPhase
impl Hash for RoundPhase
Source§impl PartialEq for RoundPhase
impl PartialEq for RoundPhase
Source§impl Serialize for RoundPhase
impl Serialize for RoundPhase
impl Copy for RoundPhase
impl Eq for RoundPhase
impl StructuralPartialEq for RoundPhase
Auto Trait Implementations§
impl Freeze for RoundPhase
impl RefUnwindSafe for RoundPhase
impl Send for RoundPhase
impl Sync for RoundPhase
impl Unpin for RoundPhase
impl UnsafeUnpin for RoundPhase
impl UnwindSafe for RoundPhase
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