pub enum ActiveTurnState {
Running,
WaitingForInput,
Cancelling,
}Variants§
Trait Implementations§
Source§impl Clone for ActiveTurnState
impl Clone for ActiveTurnState
impl Copy for ActiveTurnState
Source§impl Debug for ActiveTurnState
impl Debug for ActiveTurnState
Source§impl<'de> Deserialize<'de> for ActiveTurnState
impl<'de> Deserialize<'de> for ActiveTurnState
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 Display for ActiveTurnState
impl Display for ActiveTurnState
impl Eq for ActiveTurnState
Source§impl FromStr for ActiveTurnState
impl FromStr for ActiveTurnState
Source§impl Hash for ActiveTurnState
impl Hash for ActiveTurnState
Source§impl Ord for ActiveTurnState
impl Ord for ActiveTurnState
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ActiveTurnState
impl PartialEq for ActiveTurnState
Source§impl PartialOrd for ActiveTurnState
impl PartialOrd for ActiveTurnState
Source§impl Serialize for ActiveTurnState
impl Serialize for ActiveTurnState
impl StructuralPartialEq for ActiveTurnState
Source§impl TryFrom<&String> for ActiveTurnState
impl TryFrom<&String> for ActiveTurnState
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for ActiveTurnState
impl TryFrom<&str> for ActiveTurnState
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for ActiveTurnState
impl TryFrom<String> for ActiveTurnState
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Forget for ActiveTurnState
impl Freeze for ActiveTurnState
impl Move for ActiveTurnState
impl RefUnwindSafe for ActiveTurnState
impl Send for ActiveTurnState
impl Sync for ActiveTurnState
impl Unpin for ActiveTurnState
impl UnsafeUnpin for ActiveTurnState
impl UnwindSafe for ActiveTurnState
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