pub enum PlayerNumber {
One = 1,
Two = 2,
Three = 3,
Four = 4,
}
Variants§
Trait Implementations§
Source§impl Clone for PlayerNumber
impl Clone for PlayerNumber
Source§fn clone(&self) -> PlayerNumber
fn clone(&self) -> PlayerNumber
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 PlayerNumber
impl Debug for PlayerNumber
Source§impl Display for PlayerNumber
impl Display for PlayerNumber
Source§impl Hash for PlayerNumber
impl Hash for PlayerNumber
Source§impl PartialEq for PlayerNumber
impl PartialEq for PlayerNumber
impl Copy for PlayerNumber
impl Eq for PlayerNumber
impl StructuralPartialEq for PlayerNumber
Auto Trait Implementations§
impl Freeze for PlayerNumber
impl RefUnwindSafe for PlayerNumber
impl Send for PlayerNumber
impl Sync for PlayerNumber
impl Unpin for PlayerNumber
impl UnwindSafe for PlayerNumber
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.