#[repr(u16)]pub enum Medal {
Show 16 variants
BestGame = 1,
DecidedTournament = 2,
ModelGame = 4,
Novelty = 8,
PawnStructure = 16,
Strategy = 32,
Tactics = 64,
WithAttack = 128,
Sacrifice = 256,
Defense = 512,
Material = 1_024,
PiecePlay = 2_048,
EndGame = 4_096,
TacticalBlunder = 8_192,
StrategicalBlunder = 16_384,
User = 32_768,
}Variants§
BestGame = 1
DecidedTournament = 2
ModelGame = 4
Novelty = 8
PawnStructure = 16
Strategy = 32
Tactics = 64
WithAttack = 128
Sacrifice = 256
Defense = 512
Material = 1_024
PiecePlay = 2_048
EndGame = 4_096
TacticalBlunder = 8_192
StrategicalBlunder = 16_384
User = 32_768
Trait Implementations§
impl Copy for Medal
impl Eq for Medal
Source§impl Ord for Medal
impl Ord for Medal
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
Source§impl PartialOrd for Medal
impl PartialOrd for Medal
impl StructuralPartialEq for Medal
Auto Trait Implementations§
impl Freeze for Medal
impl RefUnwindSafe for Medal
impl Send for Medal
impl Sync for Medal
impl Unpin for Medal
impl UnsafeUnpin for Medal
impl UnwindSafe for Medal
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