pub enum FighterType {
Taipan,
GU97,
F63Condor,
GuardianTridentXG7,
GuardianJavelinXG8,
GuardianLanceXG9,
Nomad,
Unknown(String),
}Variants§
Taipan
GU97
F63Condor
GuardianTridentXG7
GuardianJavelinXG8
GuardianLanceXG9
Nomad
Unknown(String)
Available on crate feature
allow-unknown only.Implementations§
Source§impl FighterType
impl FighterType
pub fn is_unknown(&self) -> bool
Available on crate feature
allow-unknown only.Trait Implementations§
Source§impl Clone for FighterType
impl Clone for FighterType
Source§fn clone(&self) -> FighterType
fn clone(&self) -> FighterType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FighterType
impl Debug for FighterType
Source§impl<'de> Deserialize<'de> for FighterType
impl<'de> Deserialize<'de> for FighterType
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 FighterType
impl Display for FighterType
Source§impl FromStr for FighterType
impl FromStr for FighterType
Source§impl PartialEq for FighterType
impl PartialEq for FighterType
Source§fn eq(&self, other: &FighterType) -> bool
fn eq(&self, other: &FighterType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FighterType
impl Serialize for FighterType
impl StructuralPartialEq for FighterType
Auto Trait Implementations§
impl Freeze for FighterType
impl RefUnwindSafe for FighterType
impl Send for FighterType
impl Sync for FighterType
impl Unpin for FighterType
impl UnsafeUnpin for FighterType
impl UnwindSafe for FighterType
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