Struct LittleEndian

struct LittleEndian

Compile-time little endian byte order.

Implementations

impl Clone for LittleEndian

fn clone(self: &Self) -> LittleEndian

impl Copy for LittleEndian

impl Debug for LittleEndian

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl Default for LittleEndian

fn default() -> LittleEndian

impl Endian for LittleEndian

fn from_big_endian(big_endian: bool) -> Option<Self>
fn is_big_endian(self: Self) -> bool

impl Eq for LittleEndian

impl Freeze for LittleEndian

impl Hash for LittleEndian

fn hash<__H: $crate::hash::Hasher>(self: &Self, state: &mut __H)

impl PartialEq for LittleEndian

fn eq(self: &Self, other: &LittleEndian) -> bool

impl RefUnwindSafe for LittleEndian

impl Send for LittleEndian

impl StructuralPartialEq for LittleEndian

impl Sync for LittleEndian

impl Unpin for LittleEndian

impl UnwindSafe for LittleEndian

impl<T> Any for LittleEndian

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for LittleEndian

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for LittleEndian

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for LittleEndian

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for LittleEndian

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for LittleEndian

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for LittleEndian

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for LittleEndian

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for LittleEndian

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>