Trait mem_cmp::MemOrd
[−]
[src]
pub trait MemOrd: MemEq { fn mem_cmp(&self, other: &Self) -> Ordering; }
Trait for values whose bytes can be compared directly.
Required Methods
fn mem_cmp(&self, other: &Self) -> Ordering
Returns an ordering between the memory of self
and other
.
Implementors
impl<T> MemOrd for T
impl MemOrd for u8
impl MemOrd for u16
impl MemOrd for u32
impl MemOrd for u64
impl MemOrd for usize
impl MemOrd for i8
impl MemOrd for i16
impl MemOrd for i32
impl MemOrd for i64
impl MemOrd for isize