Enum pocket_relay_core::game::codec::PlayerState
source · pub enum PlayerState {
Disconnected,
Connecting,
Connected,
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for PlayerState
impl Clone for PlayerState
source§fn clone(&self) -> PlayerState
fn clone(&self) -> PlayerState
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 PlayerState
impl Debug for PlayerState
source§impl Encodable for PlayerState
impl Encodable for PlayerState
source§impl PartialEq<PlayerState> for PlayerState
impl PartialEq<PlayerState> for PlayerState
source§fn eq(&self, other: &PlayerState) -> bool
fn eq(&self, other: &PlayerState) -> bool
source§impl Serialize for PlayerState
impl Serialize for PlayerState
source§impl ValueType for PlayerState
impl ValueType for PlayerState
source§fn value_type() -> TdfType
fn value_type() -> TdfType
The type of tdf value this is
impl Copy for PlayerState
impl Eq for PlayerState
impl StructuralEq for PlayerState
impl StructuralPartialEq for PlayerState
Auto Trait Implementations§
impl RefUnwindSafe for PlayerState
impl Send for PlayerState
impl Sync for PlayerState
impl Unpin for PlayerState
impl UnwindSafe for PlayerState
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.