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]