pub enum FactionSelectionName {
Variant(FactionSelectionNameVariant),
String(String),
}
Variants§
Variant(FactionSelectionNameVariant)
String(String)
Trait Implementations§
Source§impl Clone for FactionSelectionName
impl Clone for FactionSelectionName
Source§fn clone(&self) -> FactionSelectionName
fn clone(&self) -> FactionSelectionName
Returns a copy 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 FactionSelectionName
impl Debug for FactionSelectionName
Source§impl<'de> Deserialize<'de> for FactionSelectionName
impl<'de> Deserialize<'de> for FactionSelectionName
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 FactionSelectionName
impl Display for FactionSelectionName
Source§impl From<FactionSelectionNameVariant> for FactionSelectionName
impl From<FactionSelectionNameVariant> for FactionSelectionName
Source§fn from(value: FactionSelectionNameVariant) -> Self
fn from(value: FactionSelectionNameVariant) -> Self
Converts to this type from the input type.
Source§impl From<String> for FactionSelectionName
impl From<String> for FactionSelectionName
Source§impl Hash for FactionSelectionName
impl Hash for FactionSelectionName
Source§impl PartialEq for FactionSelectionName
impl PartialEq for FactionSelectionName
impl Eq for FactionSelectionName
impl StructuralPartialEq for FactionSelectionName
Auto Trait Implementations§
impl Freeze for FactionSelectionName
impl RefUnwindSafe for FactionSelectionName
impl Send for FactionSelectionName
impl Sync for FactionSelectionName
impl Unpin for FactionSelectionName
impl UnwindSafe for FactionSelectionName
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