Trait mem_cmp::MemEq
[−]
[src]
pub trait MemEq<Rhs: ?Sized = Self> { fn mem_eq(&self, other: &Rhs) -> bool; fn mem_neq(&self, other: &Rhs) -> bool { ... } }
Trait for equality comparisons performed over bytes directly.
Required Methods
fn mem_eq(&self, other: &Rhs) -> bool
Tests whether self
and other
are equal in memory.
Provided Methods
fn mem_neq(&self, other: &Rhs) -> bool
Tests whether self
and other
are not equal in memory.
Implementors
impl<T, U> MemEq<U> for T
impl<T, U> MemEq<[U]> for [T]
impl MemEq for u8
impl MemEq for u16
impl MemEq for u32
impl MemEq for u64
impl MemEq for usize
impl MemEq for i8
impl MemEq for i16
impl MemEq for i32
impl MemEq for i64
impl MemEq for isize