Enum Endianness
enum Endianness
Configurable endianness
Variants
-
Big Big endian
-
Little Little endian
-
Native Will match the host's endianness
Implementations
impl Clone for Endianness
fn clone(self: &Self) -> Endianness
impl Copy for Endianness
impl Debug for Endianness
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Eq for Endianness
impl Freeze for Endianness
impl PartialEq for Endianness
fn eq(self: &Self, other: &Endianness) -> bool
impl RefUnwindSafe for Endianness
impl Send for Endianness
impl StructuralPartialEq for Endianness
impl Sync for Endianness
impl Unpin for Endianness
impl UnwindSafe for Endianness
impl<T> Any for Endianness
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Endianness
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Endianness
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for Endianness
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for Endianness
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for Endianness
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for Endianness
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for Endianness
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Endianness
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>