Enum quakeworld::protocol::types::CommandCode
source · #[repr(u8)]
pub enum CommandCode {
S2cChallenge,
S2cConnection,
}
Variants§
Trait Implementations§
source§impl Debug for CommandCode
impl Debug for CommandCode
source§impl Display for CommandCode
impl Display for CommandCode
source§impl Ord for CommandCode
impl Ord for CommandCode
source§fn cmp(&self, other: &CommandCode) -> Ordering
fn cmp(&self, other: &CommandCode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<CommandCode> for CommandCode
impl PartialEq<CommandCode> for CommandCode
source§fn eq(&self, other: &CommandCode) -> bool
fn eq(&self, other: &CommandCode) -> bool
source§impl PartialOrd<CommandCode> for CommandCode
impl PartialOrd<CommandCode> for CommandCode
source§fn partial_cmp(&self, other: &CommandCode) -> Option<Ordering>
fn partial_cmp(&self, other: &CommandCode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more