pub enum AdminLevel {
Player,
Spy,
LightGuide,
Guardian,
GameMaster,
HighGameMaster,
Unrecognized(i32),
}
Expand description
The admin level of a player
Variants§
Trait Implementations§
Source§impl Clone for AdminLevel
impl Clone for AdminLevel
Source§fn clone(&self) -> AdminLevel
fn clone(&self) -> AdminLevel
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 AdminLevel
impl Debug for AdminLevel
Source§impl Default for AdminLevel
impl Default for AdminLevel
Source§impl From<AdminLevel> for i32
impl From<AdminLevel> for i32
Source§fn from(value: AdminLevel) -> i32
fn from(value: AdminLevel) -> i32
Converts to this type from the input type.
Source§impl From<i32> for AdminLevel
impl From<i32> for AdminLevel
Source§impl PartialEq for AdminLevel
impl PartialEq for AdminLevel
impl Copy for AdminLevel
impl Eq for AdminLevel
impl StructuralPartialEq for AdminLevel
Auto Trait Implementations§
impl Freeze for AdminLevel
impl RefUnwindSafe for AdminLevel
impl Send for AdminLevel
impl Sync for AdminLevel
impl Unpin for AdminLevel
impl UnwindSafe for AdminLevel
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