#[repr(u8)]pub enum PlayerChangeState {
Observe = 8,
Ready = 9,
Notready = 10,
Leave = 11,
}Variants§
Trait Implementations§
Source§impl CheckDiscriminantInRange<BitCount<Leave>> for PlayerChangeState
impl CheckDiscriminantInRange<BitCount<Leave>> for PlayerChangeState
Source§impl CheckDiscriminantInRange<BitCount<Notready>> for PlayerChangeState
impl CheckDiscriminantInRange<BitCount<Notready>> for PlayerChangeState
Source§impl CheckDiscriminantInRange<BitCount<Observe>> for PlayerChangeState
impl CheckDiscriminantInRange<BitCount<Observe>> for PlayerChangeState
Source§impl CheckDiscriminantInRange<BitCount<Ready>> for PlayerChangeState
impl CheckDiscriminantInRange<BitCount<Ready>> for PlayerChangeState
Source§impl Clone for PlayerChangeState
impl Clone for PlayerChangeState
Source§fn clone(&self) -> PlayerChangeState
fn clone(&self) -> PlayerChangeState
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 moreimpl Copy for PlayerChangeState
Source§impl Debug for PlayerChangeState
impl Debug for PlayerChangeState
impl Eq for PlayerChangeState
Source§impl PartialEq for PlayerChangeState
impl PartialEq for PlayerChangeState
Source§impl Specifier for PlayerChangeState
impl Specifier for PlayerChangeState
Source§type Bytes = <BitCount<4> as SpecifierBytes>::Bytes
type Bytes = <BitCount<4> as SpecifierBytes>::Bytes
The storage type. This is typically the smallest integer primitive that
can store all possible values of the
InOut type.Source§type InOut = PlayerChangeState
type InOut = PlayerChangeState
The interface type. This type is used by getters and setters. For
integers, this is the same as the
Bytes type; for other
types with more logical representations, like an enum or struct, this is
the enum or struct.Source§fn into_bytes(
input: <Self as Specifier>::InOut,
) -> Result<<Self as Specifier>::Bytes, OutOfBounds>
fn into_bytes( input: <Self as Specifier>::InOut, ) -> Result<<Self as Specifier>::Bytes, OutOfBounds>
Converts an interface type into its storage type. Read more
impl StructuralPartialEq for PlayerChangeState
Auto Trait Implementations§
impl Freeze for PlayerChangeState
impl RefUnwindSafe for PlayerChangeState
impl Send for PlayerChangeState
impl Sync for PlayerChangeState
impl Unpin for PlayerChangeState
impl UnsafeUnpin for PlayerChangeState
impl UnwindSafe for PlayerChangeState
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