pub enum Endianness {
    LittleEndian,
    BigEndian,
}Expand description
An enum for little or big endian.
Variants§
Implementations§
source§impl Endianness
 
impl Endianness
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 PartialEq for Endianness
 
impl PartialEq for Endianness
source§fn eq(&self, other: &Endianness) -> bool
 
fn eq(&self, other: &Endianness) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Copy for Endianness
impl Eq 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§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more