pub enum BombState {
Carried,
Dropped,
Planting,
Planted,
Defusing,
Defused,
Exploded,
Unknown,
}Expand description
Lifecycle state of the bomb.
Variants§
Carried
Bomb is held by a T player.
Dropped
Bomb is dropped on the ground.
Planting
Bomb is being planted (animation in progress).
Planted
Bomb planted and counting down.
Defusing
Bomb is being defused.
Defused
Bomb defused.
Exploded
Bomb exploded.
Unknown
Unrecognized / no bomb info.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BombState
impl<'de> Deserialize<'de> for BombState
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
impl Copy for BombState
impl Eq for BombState
impl StructuralPartialEq for BombState
Auto Trait Implementations§
impl Freeze for BombState
impl RefUnwindSafe for BombState
impl Send for BombState
impl Sync for BombState
impl Unpin for BombState
impl UnsafeUnpin for BombState
impl UnwindSafe for BombState
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