#[repr(u8)]pub enum PlayerSlotState {
Empty = 0,
Playing = 1,
Left = 2,
}Expand description
Live state of a player slot.
Variants§
Trait Implementations§
Source§impl Clone for PlayerSlotState
impl Clone for PlayerSlotState
Source§fn clone(&self) -> PlayerSlotState
fn clone(&self) -> PlayerSlotState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PlayerSlotState
impl Debug for PlayerSlotState
Source§impl Hash for PlayerSlotState
impl Hash for PlayerSlotState
Source§impl PartialEq for PlayerSlotState
impl PartialEq for PlayerSlotState
Source§fn eq(&self, other: &PlayerSlotState) -> bool
fn eq(&self, other: &PlayerSlotState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PlayerSlotState
impl Eq for PlayerSlotState
impl StructuralPartialEq for PlayerSlotState
Auto Trait Implementations§
impl Freeze for PlayerSlotState
impl RefUnwindSafe for PlayerSlotState
impl Send for PlayerSlotState
impl Sync for PlayerSlotState
impl Unpin for PlayerSlotState
impl UnsafeUnpin for PlayerSlotState
impl UnwindSafe for PlayerSlotState
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