Enum symbolic_common::types::Endianness
source · pub enum Endianness {
Little,
Big,
}
Expand description
Represents endianness.
Variants§
Trait Implementations§
source§impl Clone for Endianness
impl Clone for Endianness
source§fn clone(&self) -> Endianness
fn clone(&self) -> Endianness
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 Endianness
impl Debug for Endianness
source§impl Default for Endianness
impl Default for Endianness
source§fn default() -> Endianness
fn default() -> Endianness
Returns the “default value” for a type. Read more
source§impl Ord for Endianness
impl Ord for Endianness
source§fn cmp(&self, other: &Endianness) -> Ordering
fn cmp(&self, other: &Endianness) -> 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<Endianness> for Endianness
impl PartialEq<Endianness> for Endianness
source§fn eq(&self, other: &Endianness) -> bool
fn eq(&self, other: &Endianness) -> bool
source§impl PartialOrd<Endianness> for Endianness
impl PartialOrd<Endianness> for Endianness
source§fn partial_cmp(&self, other: &Endianness) -> Option<Ordering>
fn partial_cmp(&self, other: &Endianness) -> 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