Struct BigEndian

struct BigEndian

Compile-time big endian byte order.

Implementations

impl Clone for BigEndian

fn clone(self: &Self) -> BigEndian

impl Copy for BigEndian

impl Debug for BigEndian

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

impl Default for BigEndian

fn default() -> BigEndian

impl Endian for BigEndian

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

impl Eq for BigEndian

impl Freeze for BigEndian

impl Hash for BigEndian

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

impl PartialEq for BigEndian

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

impl RefUnwindSafe for BigEndian

impl Send for BigEndian

impl StructuralPartialEq for BigEndian

impl Sync for BigEndian

impl Unpin for BigEndian

impl UnwindSafe for BigEndian

impl<T> Any for BigEndian

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for BigEndian

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

impl<T> BorrowMut for BigEndian

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

impl<T> CloneToUninit for BigEndian

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

impl<T> From for BigEndian

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for BigEndian

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

impl<T, U> Into for BigEndian

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 BigEndian

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

impl<T, U> TryInto for BigEndian

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