pub enum Endianness {
    Little,
    Big,
}Expand description
Used to define byte order or “endianness”.
This is used to define the order in which the bytes of datatypes are read.
Variants§
Little
The lowest-order byte is read first. Subsequent bytes are in ascending order.
Big
The highest-order byte is read first. Subsequent bytes are in descending order.
Trait Implementations§
Source§impl Clone for Endianness
 
impl Clone for Endianness
Source§fn clone(&self) -> Endianness
 
fn clone(&self) -> Endianness
Returns a duplicate 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
impl Copy for Endianness
impl Eq for Endianness
impl StructuralPartialEq for Endianness
Auto Trait Implementations§
impl Freeze for Endianness
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