pub enum Endian {
Big,
Little,
Native,
}Expand description
Defines the order of bytes in a multi-byte type.
Variants
Big
The most significant byte is stored first.
Little
The least significant byte is stored first.
Native
The byte order is determined by the host CPU.
Implementations
Trait Implementations
impl Copy for Endian
impl Eq for Endian
impl StructuralEq for Endian
impl StructuralPartialEq for Endian
Auto Trait Implementations
impl RefUnwindSafe for Endian
impl Send for Endian
impl Sync for Endian
impl Unpin for Endian
impl UnwindSafe for Endian
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
sourceimpl<T> CustomError for T where
T: 'static + Display + Debug + Send + Sync,
impl<T> CustomError for T where
T: 'static + Display + Debug + Send + Sync,
fn as_any(&self) -> &(dyn Any + Sync + Send + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + Sync + Send + 'static)
fn as_box_any(
self: Box<T, Global>
) -> Box<dyn Any + Sync + Send + 'static, Global>ⓘNotable traits for Box<R, Global>impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized,
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized,