Struct quakeworld::protocol::types::StringByte
source · Fields§
§bytes: Vec<u8>
§string: String
Implementations§
source§impl StringByte
impl StringByte
pub fn new(
bytes: impl Into<Vec<u8>>,
ascii_converter: &AsciiConverter
) -> StringByte
Trait Implementations§
source§impl Clone for StringByte
impl Clone for StringByte
source§fn clone(&self) -> StringByte
fn clone(&self) -> StringByte
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 StringByte
impl Debug for StringByte
source§impl Default for StringByte
impl Default for StringByte
source§fn default() -> StringByte
fn default() -> StringByte
Returns the “default value” for a type. Read more
source§impl Display for StringByte
impl Display for StringByte
source§impl PartialEq<StringByte> for StringByte
impl PartialEq<StringByte> for StringByte
source§fn eq(&self, other: &StringByte) -> bool
fn eq(&self, other: &StringByte) -> bool
source§impl PartialOrd<StringByte> for StringByte
impl PartialOrd<StringByte> for StringByte
source§fn partial_cmp(&self, other: &StringByte) -> Option<Ordering>
fn partial_cmp(&self, other: &StringByte) -> 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