Enum LittleEndian

pub enum LittleEndian

Little-endian byte order.

See ByteOrder for more details.

Trait Implementations

impl ByteOrder for LittleEndian

const ORDER: Order = Order::LittleEndian;

impl Clone for LittleEndian

fn clone(&self) -> LittleEndian

impl Copy for LittleEndian

impl Debug for LittleEndian

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

impl Display for LittleEndian

fn fmt(&self, &mut Formatter<'_>) -> Result

impl Eq for LittleEndian

impl Hash for LittleEndian

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

impl Ord for LittleEndian

fn cmp(&self, other: &LittleEndian) -> Ordering

impl PartialEq for LittleEndian

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

impl PartialOrd for LittleEndian

fn partial_cmp(&self, other: &LittleEndian) -> Option<Ordering>

impl StructuralPartialEq for LittleEndian

Auto Trait Implementations

impl Freeze for LittleEndian

impl RefUnwindSafe for LittleEndian

impl Send for LittleEndian

impl Sync for LittleEndian

impl Unpin for LittleEndian

impl UnsafeUnpin for LittleEndian

impl UnwindSafe for LittleEndian

Blanket Implementations

impl<T> Any for LittleEndian where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for LittleEndian where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for LittleEndian where T: ?Sized,

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

impl<T> CloneToUninit for LittleEndian where T: Clone,

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

impl<T> From<T> for LittleEndian

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for LittleEndian where U: From<T>,

fn into(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<U> for LittleEndian where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for LittleEndian where U: TryFrom<T>,

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