Enum nom::number::Endianness
source · [−]pub enum Endianness {
Big,
Little,
Native,
}
Expand description
Configurable endianness
Variants
Big
Big endian
Little
Little endian
Native
Will match the host’s endianness
Trait Implementations
sourceimpl Clone for Endianness
impl Clone for Endianness
sourcefn clone(&self) -> Endianness
fn clone(&self) -> Endianness
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Endianness
impl Debug for Endianness
sourceimpl PartialEq<Endianness> for Endianness
impl PartialEq<Endianness> for Endianness
impl Copy for Endianness
impl Eq for Endianness
impl StructuralEq for Endianness
impl StructuralPartialEq for Endianness
Auto Trait Implementations
impl RefUnwindSafe for Endianness
impl Send for Endianness
impl Sync for Endianness
impl Unpin for Endianness
impl UnwindSafe for Endianness
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more