pub enum BattleType {
Siege,
}Variants§
Siege
Implementations§
Trait Implementations§
Source§impl Clone for BattleType
impl Clone for BattleType
Source§fn clone(&self) -> BattleType
fn clone(&self) -> BattleType
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 BattleType
impl Debug for BattleType
Source§impl<'de> Deserialize<'de> for BattleType
impl<'de> Deserialize<'de> for BattleType
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 BattleType
impl Display for BattleType
Source§impl FromStr for BattleType
impl FromStr for BattleType
Source§impl Hash for BattleType
impl Hash for BattleType
Source§impl Idris for BattleType
impl Idris for BattleType
Source§impl Ord for BattleType
impl Ord for BattleType
Source§fn cmp(&self, other: &BattleType) -> Ordering
fn cmp(&self, other: &BattleType) -> 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 BattleType
impl PartialEq for BattleType
Source§impl PartialOrd for BattleType
impl PartialOrd for BattleType
Source§impl Serialize for BattleType
impl Serialize for BattleType
impl Copy for BattleType
impl Eq for BattleType
impl StructuralPartialEq for BattleType
Auto Trait Implementations§
impl Freeze for BattleType
impl RefUnwindSafe for BattleType
impl Send for BattleType
impl Sync for BattleType
impl Unpin for BattleType
impl UnwindSafe for BattleType
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