pub enum StartPosType {
Fixed,
Random,
Ingame,
Beforegame,
}Expand description
StartPosType
JSON schema
{
"enum": [
"fixed",
"random",
"ingame",
"beforegame"
]
}Variants§
Trait Implementations§
Source§impl Clone for StartPosType
impl Clone for StartPosType
Source§fn clone(&self) -> StartPosType
fn clone(&self) -> StartPosType
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 StartPosType
impl Debug for StartPosType
Source§impl<'de> Deserialize<'de> for StartPosType
impl<'de> Deserialize<'de> for StartPosType
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 StartPosType
impl Display for StartPosType
Source§impl FromStr for StartPosType
impl FromStr for StartPosType
Source§impl Hash for StartPosType
impl Hash for StartPosType
Source§impl Ord for StartPosType
impl Ord for StartPosType
Source§fn cmp(&self, other: &StartPosType) -> Ordering
fn cmp(&self, other: &StartPosType) -> Ordering
1.21.0 · 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
Source§impl PartialEq for StartPosType
impl PartialEq for StartPosType
Source§impl PartialOrd for StartPosType
impl PartialOrd for StartPosType
Source§impl Serialize for StartPosType
impl Serialize for StartPosType
Source§impl TryFrom<&String> for StartPosType
impl TryFrom<&String> for StartPosType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for StartPosType
impl TryFrom<&str> for StartPosType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for StartPosType
impl TryFrom<String> for StartPosType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for StartPosType
impl Eq for StartPosType
impl StructuralPartialEq for StartPosType
Auto Trait Implementations§
impl Freeze for StartPosType
impl RefUnwindSafe for StartPosType
impl Send for StartPosType
impl Sync for StartPosType
impl Unpin for StartPosType
impl UnsafeUnpin for StartPosType
impl UnwindSafe for StartPosType
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