pub struct LittleEndian<T: SpecificEndian<T>>(/* private fields */);
Expand description

A little-endian representation of type T that implements SpecificEndian<T>. Data stored in the struct must be converted to little-endian using ::from() or .into().

Implementations§

source§

impl<T> LittleEndian<T>
where T: SpecificEndian<T>,

source

pub fn to_bits(&self) -> T

Returns the raw data stored in the struct.

source

pub fn from_bits(v: T) -> Self

Imports the data raw into a LittleEndian struct.

source

pub fn to_native(&self) -> T

Converts the data to the same type T in host-native endian.

Trait Implementations§

source§

impl Add for LittleEndian<f32>

§

type Output = LittleEndian<f32>

The resulting type after applying the + operator.
source§

fn add(self, other: Self) -> Self

Performs the + operation. Read more
source§

impl Add for LittleEndian<f64>

§

type Output = LittleEndian<f64>

The resulting type after applying the + operator.
source§

fn add(self, other: Self) -> Self

Performs the + operation. Read more
source§

impl Add for LittleEndian<i128>

§

type Output = LittleEndian<i128>

The resulting type after applying the + operator.
source§

fn add(self, other: Self) -> Self

Performs the + operation. Read more
source§

impl Add for LittleEndian<i16>

§

type Output = LittleEndian<i16>

The resulting type after applying the + operator.
source§

fn add(self, other: Self) -> Self

Performs the + operation. Read more
source§

impl Add for LittleEndian<i32>

§

type Output = LittleEndian<i32>

The resulting type after applying the + operator.
source§

fn add(self, other: Self) -> Self

Performs the + operation. Read more
source§

impl Add for LittleEndian<i64>

§

type Output = LittleEndian<i64>

The resulting type after applying the + operator.
source§

fn add(self, other: Self) -> Self

Performs the + operation. Read more
source§

impl Add for LittleEndian<i8>

§

type Output = LittleEndian<i8>

The resulting type after applying the + operator.
source§

fn add(self, other: Self) -> Self

Performs the + operation. Read more
source§

impl Add for LittleEndian<isize>

§

type Output = LittleEndian<isize>

The resulting type after applying the + operator.
source§

fn add(self, other: Self) -> Self

Performs the + operation. Read more
source§

impl Add for LittleEndian<u128>

§

type Output = LittleEndian<u128>

The resulting type after applying the + operator.
source§

fn add(self, other: Self) -> Self

Performs the + operation. Read more
source§

impl Add for LittleEndian<u16>

§

type Output = LittleEndian<u16>

The resulting type after applying the + operator.
source§

fn add(self, other: Self) -> Self

Performs the + operation. Read more
source§

impl Add for LittleEndian<u32>

§

type Output = LittleEndian<u32>

The resulting type after applying the + operator.
source§

fn add(self, other: Self) -> Self

Performs the + operation. Read more
source§

impl Add for LittleEndian<u64>

§

type Output = LittleEndian<u64>

The resulting type after applying the + operator.
source§

fn add(self, other: Self) -> Self

Performs the + operation. Read more
source§

impl Add for LittleEndian<u8>

§

type Output = LittleEndian<u8>

The resulting type after applying the + operator.
source§

fn add(self, other: Self) -> Self

Performs the + operation. Read more
source§

impl Add for LittleEndian<usize>

§

type Output = LittleEndian<usize>

The resulting type after applying the + operator.
source§

fn add(self, other: Self) -> Self

Performs the + operation. Read more
source§

impl AddAssign for LittleEndian<f32>

source§

fn add_assign(&mut self, other: Self)

Performs the += operation. Read more
source§

impl AddAssign for LittleEndian<f64>

source§

fn add_assign(&mut self, other: Self)

Performs the += operation. Read more
source§

impl AddAssign for LittleEndian<i128>

source§

fn add_assign(&mut self, other: Self)

Performs the += operation. Read more
source§

impl AddAssign for LittleEndian<i16>

source§

fn add_assign(&mut self, other: Self)

Performs the += operation. Read more
source§

impl AddAssign for LittleEndian<i32>

source§

fn add_assign(&mut self, other: Self)

Performs the += operation. Read more
source§

impl AddAssign for LittleEndian<i64>

source§

fn add_assign(&mut self, other: Self)

Performs the += operation. Read more
source§

impl AddAssign for LittleEndian<i8>

source§

fn add_assign(&mut self, other: Self)

Performs the += operation. Read more
source§

impl AddAssign for LittleEndian<isize>

source§

fn add_assign(&mut self, other: Self)

Performs the += operation. Read more
source§

impl AddAssign for LittleEndian<u128>

source§

fn add_assign(&mut self, other: Self)

Performs the += operation. Read more
source§

impl AddAssign for LittleEndian<u16>

source§

fn add_assign(&mut self, other: Self)

Performs the += operation. Read more
source§

impl AddAssign for LittleEndian<u32>

source§

fn add_assign(&mut self, other: Self)

Performs the += operation. Read more
source§

impl AddAssign for LittleEndian<u64>

source§

fn add_assign(&mut self, other: Self)

Performs the += operation. Read more
source§

impl AddAssign for LittleEndian<u8>

source§

fn add_assign(&mut self, other: Self)

Performs the += operation. Read more
source§

impl AddAssign for LittleEndian<usize>

source§

fn add_assign(&mut self, other: Self)

Performs the += operation. Read more
source§

impl<T: Binary + SpecificEndian<T>> Binary for LittleEndian<T>

source§

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

Formats the value using the given formatter.
source§

impl BitAnd for LittleEndian<bool>

§

type Output = LittleEndian<bool>

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: Self) -> Self::Output

Performs the & operation. Read more
source§

impl BitAnd for LittleEndian<i128>

§

type Output = LittleEndian<i128>

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: Self) -> Self::Output

Performs the & operation. Read more
source§

impl BitAnd for LittleEndian<i16>

§

type Output = LittleEndian<i16>

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: Self) -> Self::Output

Performs the & operation. Read more
source§

impl BitAnd for LittleEndian<i32>

§

type Output = LittleEndian<i32>

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: Self) -> Self::Output

Performs the & operation. Read more
source§

impl BitAnd for LittleEndian<i64>

§

type Output = LittleEndian<i64>

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: Self) -> Self::Output

Performs the & operation. Read more
source§

impl BitAnd for LittleEndian<i8>

§

type Output = LittleEndian<i8>

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: Self) -> Self::Output

Performs the & operation. Read more
source§

impl BitAnd for LittleEndian<isize>

§

type Output = LittleEndian<isize>

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: Self) -> Self::Output

Performs the & operation. Read more
source§

impl BitAnd for LittleEndian<u128>

§

type Output = LittleEndian<u128>

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: Self) -> Self::Output

Performs the & operation. Read more
source§

impl BitAnd for LittleEndian<u16>

§

type Output = LittleEndian<u16>

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: Self) -> Self::Output

Performs the & operation. Read more
source§

impl BitAnd for LittleEndian<u32>

§

type Output = LittleEndian<u32>

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: Self) -> Self::Output

Performs the & operation. Read more
source§

impl BitAnd for LittleEndian<u64>

§

type Output = LittleEndian<u64>

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: Self) -> Self::Output

Performs the & operation. Read more
source§

impl BitAnd for LittleEndian<u8>

§

type Output = LittleEndian<u8>

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: Self) -> Self::Output

Performs the & operation. Read more
source§

impl BitAnd for LittleEndian<usize>

§

type Output = LittleEndian<usize>

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: Self) -> Self::Output

Performs the & operation. Read more
source§

impl BitAndAssign for LittleEndian<bool>

source§

fn bitand_assign(&mut self, rhs: Self)

Performs the &= operation. Read more
source§

impl BitAndAssign for LittleEndian<i128>

source§

fn bitand_assign(&mut self, rhs: Self)

Performs the &= operation. Read more
source§

impl BitAndAssign for LittleEndian<i16>

source§

fn bitand_assign(&mut self, rhs: Self)

Performs the &= operation. Read more
source§

impl BitAndAssign for LittleEndian<i32>

source§

fn bitand_assign(&mut self, rhs: Self)

Performs the &= operation. Read more
source§

impl BitAndAssign for LittleEndian<i64>

source§

fn bitand_assign(&mut self, rhs: Self)

Performs the &= operation. Read more
source§

impl BitAndAssign for LittleEndian<i8>

source§

fn bitand_assign(&mut self, rhs: Self)

Performs the &= operation. Read more
source§

impl BitAndAssign for LittleEndian<isize>

source§

fn bitand_assign(&mut self, rhs: Self)

Performs the &= operation. Read more
source§

impl BitAndAssign for LittleEndian<u128>

source§

fn bitand_assign(&mut self, rhs: Self)

Performs the &= operation. Read more
source§

impl BitAndAssign for LittleEndian<u16>

source§

fn bitand_assign(&mut self, rhs: Self)

Performs the &= operation. Read more
source§

impl BitAndAssign for LittleEndian<u32>

source§

fn bitand_assign(&mut self, rhs: Self)

Performs the &= operation. Read more
source§

impl BitAndAssign for LittleEndian<u64>

source§

fn bitand_assign(&mut self, rhs: Self)

Performs the &= operation. Read more
source§

impl BitAndAssign for LittleEndian<u8>

source§

fn bitand_assign(&mut self, rhs: Self)

Performs the &= operation. Read more
source§

impl BitAndAssign for LittleEndian<usize>

source§

fn bitand_assign(&mut self, rhs: Self)

Performs the &= operation. Read more
source§

impl BitOr for LittleEndian<bool>

§

type Output = LittleEndian<bool>

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: Self) -> Self

Performs the | operation. Read more
source§

impl BitOr for LittleEndian<i128>

§

type Output = LittleEndian<i128>

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: Self) -> Self

Performs the | operation. Read more
source§

impl BitOr for LittleEndian<i16>

§

type Output = LittleEndian<i16>

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: Self) -> Self

Performs the | operation. Read more
source§

impl BitOr for LittleEndian<i32>

§

type Output = LittleEndian<i32>

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: Self) -> Self

Performs the | operation. Read more
source§

impl BitOr for LittleEndian<i64>

§

type Output = LittleEndian<i64>

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: Self) -> Self

Performs the | operation. Read more
source§

impl BitOr for LittleEndian<i8>

§

type Output = LittleEndian<i8>

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: Self) -> Self

Performs the | operation. Read more
source§

impl BitOr for LittleEndian<isize>

§

type Output = LittleEndian<isize>

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: Self) -> Self

Performs the | operation. Read more
source§

impl BitOr for LittleEndian<u128>

§

type Output = LittleEndian<u128>

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: Self) -> Self

Performs the | operation. Read more
source§

impl BitOr for LittleEndian<u16>

§

type Output = LittleEndian<u16>

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: Self) -> Self

Performs the | operation. Read more
source§

impl BitOr for LittleEndian<u32>

§

type Output = LittleEndian<u32>

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: Self) -> Self

Performs the | operation. Read more
source§

impl BitOr for LittleEndian<u64>

§

type Output = LittleEndian<u64>

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: Self) -> Self

Performs the | operation. Read more
source§

impl BitOr for LittleEndian<u8>

§

type Output = LittleEndian<u8>

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: Self) -> Self

Performs the | operation. Read more
source§

impl BitOr for LittleEndian<usize>

§

type Output = LittleEndian<usize>

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: Self) -> Self

Performs the | operation. Read more
source§

impl BitOrAssign for LittleEndian<bool>

source§

fn bitor_assign(&mut self, rhs: Self)

Performs the |= operation. Read more
source§

impl BitOrAssign for LittleEndian<i128>

source§

fn bitor_assign(&mut self, rhs: Self)

Performs the |= operation. Read more
source§

impl BitOrAssign for LittleEndian<i16>

source§

fn bitor_assign(&mut self, rhs: Self)

Performs the |= operation. Read more
source§

impl BitOrAssign for LittleEndian<i32>

source§

fn bitor_assign(&mut self, rhs: Self)

Performs the |= operation. Read more
source§

impl BitOrAssign for LittleEndian<i64>

source§

fn bitor_assign(&mut self, rhs: Self)

Performs the |= operation. Read more
source§

impl BitOrAssign for LittleEndian<i8>

source§

fn bitor_assign(&mut self, rhs: Self)

Performs the |= operation. Read more
source§

impl BitOrAssign for LittleEndian<isize>

source§

fn bitor_assign(&mut self, rhs: Self)

Performs the |= operation. Read more
source§

impl BitOrAssign for LittleEndian<u128>

source§

fn bitor_assign(&mut self, rhs: Self)

Performs the |= operation. Read more
source§

impl BitOrAssign for LittleEndian<u16>

source§

fn bitor_assign(&mut self, rhs: Self)

Performs the |= operation. Read more
source§

impl BitOrAssign for LittleEndian<u32>

source§

fn bitor_assign(&mut self, rhs: Self)

Performs the |= operation. Read more
source§

impl BitOrAssign for LittleEndian<u64>

source§

fn bitor_assign(&mut self, rhs: Self)

Performs the |= operation. Read more
source§

impl BitOrAssign for LittleEndian<u8>

source§

fn bitor_assign(&mut self, rhs: Self)

Performs the |= operation. Read more
source§

impl BitOrAssign for LittleEndian<usize>

source§

fn bitor_assign(&mut self, rhs: Self)

Performs the |= operation. Read more
source§

impl BitXor for LittleEndian<bool>

§

type Output = LittleEndian<bool>

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: Self) -> Self::Output

Performs the ^ operation. Read more
source§

impl BitXor for LittleEndian<i128>

§

type Output = LittleEndian<i128>

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: Self) -> Self::Output

Performs the ^ operation. Read more
source§

impl BitXor for LittleEndian<i16>

§

type Output = LittleEndian<i16>

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: Self) -> Self::Output

Performs the ^ operation. Read more
source§

impl BitXor for LittleEndian<i32>

§

type Output = LittleEndian<i32>

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: Self) -> Self::Output

Performs the ^ operation. Read more
source§

impl BitXor for LittleEndian<i64>

§

type Output = LittleEndian<i64>

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: Self) -> Self::Output

Performs the ^ operation. Read more
source§

impl BitXor for LittleEndian<i8>

§

type Output = LittleEndian<i8>

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: Self) -> Self::Output

Performs the ^ operation. Read more
source§

impl BitXor for LittleEndian<isize>

§

type Output = LittleEndian<isize>

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: Self) -> Self::Output

Performs the ^ operation. Read more
source§

impl BitXor for LittleEndian<u128>

§

type Output = LittleEndian<u128>

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: Self) -> Self::Output

Performs the ^ operation. Read more
source§

impl BitXor for LittleEndian<u16>

§

type Output = LittleEndian<u16>

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: Self) -> Self::Output

Performs the ^ operation. Read more
source§

impl BitXor for LittleEndian<u32>

§

type Output = LittleEndian<u32>

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: Self) -> Self::Output

Performs the ^ operation. Read more
source§

impl BitXor for LittleEndian<u64>

§

type Output = LittleEndian<u64>

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: Self) -> Self::Output

Performs the ^ operation. Read more
source§

impl BitXor for LittleEndian<u8>

§

type Output = LittleEndian<u8>

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: Self) -> Self::Output

Performs the ^ operation. Read more
source§

impl BitXor for LittleEndian<usize>

§

type Output = LittleEndian<usize>

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: Self) -> Self::Output

Performs the ^ operation. Read more
source§

impl BitXorAssign for LittleEndian<bool>

source§

fn bitxor_assign(&mut self, rhs: Self)

Performs the ^= operation. Read more
source§

impl BitXorAssign for LittleEndian<i128>

source§

fn bitxor_assign(&mut self, rhs: Self)

Performs the ^= operation. Read more
source§

impl BitXorAssign for LittleEndian<i16>

source§

fn bitxor_assign(&mut self, rhs: Self)

Performs the ^= operation. Read more
source§

impl BitXorAssign for LittleEndian<i32>

source§

fn bitxor_assign(&mut self, rhs: Self)

Performs the ^= operation. Read more
source§

impl BitXorAssign for LittleEndian<i64>

source§

fn bitxor_assign(&mut self, rhs: Self)

Performs the ^= operation. Read more
source§

impl BitXorAssign for LittleEndian<i8>

source§

fn bitxor_assign(&mut self, rhs: Self)

Performs the ^= operation. Read more
source§

impl BitXorAssign for LittleEndian<isize>

source§

fn bitxor_assign(&mut self, rhs: Self)

Performs the ^= operation. Read more
source§

impl BitXorAssign for LittleEndian<u128>

source§

fn bitxor_assign(&mut self, rhs: Self)

Performs the ^= operation. Read more
source§

impl BitXorAssign for LittleEndian<u16>

source§

fn bitxor_assign(&mut self, rhs: Self)

Performs the ^= operation. Read more
source§

impl BitXorAssign for LittleEndian<u32>

source§

fn bitxor_assign(&mut self, rhs: Self)

Performs the ^= operation. Read more
source§

impl BitXorAssign for LittleEndian<u64>

source§

fn bitxor_assign(&mut self, rhs: Self)

Performs the ^= operation. Read more
source§

impl BitXorAssign for LittleEndian<u8>

source§

fn bitxor_assign(&mut self, rhs: Self)

Performs the ^= operation. Read more
source§

impl BitXorAssign for LittleEndian<usize>

source§

fn bitxor_assign(&mut self, rhs: Self)

Performs the ^= operation. Read more
source§

impl<T: Clone + SpecificEndian<T>> Clone for LittleEndian<T>

source§

fn clone(&self) -> LittleEndian<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<T: Debug + SpecificEndian<T>> Debug for LittleEndian<T>

source§

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

Formats the value using the given formatter. Read more
source§

impl<T: Default + SpecificEndian<T>> Default for LittleEndian<T>

source§

fn default() -> LittleEndian<T>

Returns the “default value” for a type. Read more
source§

impl<T: Display + SpecificEndian<T>> Display for LittleEndian<T>

source§

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

Formats the value using the given formatter. Read more
source§

impl Div for LittleEndian<f32>

§

type Output = LittleEndian<f32>

The resulting type after applying the / operator.
source§

fn div(self, other: Self) -> Self

Performs the / operation. Read more
source§

impl Div for LittleEndian<f64>

§

type Output = LittleEndian<f64>

The resulting type after applying the / operator.
source§

fn div(self, other: Self) -> Self

Performs the / operation. Read more
source§

impl Div for LittleEndian<i128>

§

type Output = LittleEndian<i128>

The resulting type after applying the / operator.
source§

fn div(self, other: Self) -> Self

Performs the / operation. Read more
source§

impl Div for LittleEndian<i16>

§

type Output = LittleEndian<i16>

The resulting type after applying the / operator.
source§

fn div(self, other: Self) -> Self

Performs the / operation. Read more
source§

impl Div for LittleEndian<i32>

§

type Output = LittleEndian<i32>

The resulting type after applying the / operator.
source§

fn div(self, other: Self) -> Self

Performs the / operation. Read more
source§

impl Div for LittleEndian<i64>

§

type Output = LittleEndian<i64>

The resulting type after applying the / operator.
source§

fn div(self, other: Self) -> Self

Performs the / operation. Read more
source§

impl Div for LittleEndian<i8>

§

type Output = LittleEndian<i8>

The resulting type after applying the / operator.
source§

fn div(self, other: Self) -> Self

Performs the / operation. Read more
source§

impl Div for LittleEndian<isize>

§

type Output = LittleEndian<isize>

The resulting type after applying the / operator.
source§

fn div(self, other: Self) -> Self

Performs the / operation. Read more
source§

impl Div for LittleEndian<u128>

§

type Output = LittleEndian<u128>

The resulting type after applying the / operator.
source§

fn div(self, other: Self) -> Self

Performs the / operation. Read more
source§

impl Div for LittleEndian<u16>

§

type Output = LittleEndian<u16>

The resulting type after applying the / operator.
source§

fn div(self, other: Self) -> Self

Performs the / operation. Read more
source§

impl Div for LittleEndian<u32>

§

type Output = LittleEndian<u32>

The resulting type after applying the / operator.
source§

fn div(self, other: Self) -> Self

Performs the / operation. Read more
source§

impl Div for LittleEndian<u64>

§

type Output = LittleEndian<u64>

The resulting type after applying the / operator.
source§

fn div(self, other: Self) -> Self

Performs the / operation. Read more
source§

impl Div for LittleEndian<u8>

§

type Output = LittleEndian<u8>

The resulting type after applying the / operator.
source§

fn div(self, other: Self) -> Self

Performs the / operation. Read more
source§

impl Div for LittleEndian<usize>

§

type Output = LittleEndian<usize>

The resulting type after applying the / operator.
source§

fn div(self, other: Self) -> Self

Performs the / operation. Read more
source§

impl DivAssign for LittleEndian<f32>

source§

fn div_assign(&mut self, other: Self)

Performs the /= operation. Read more
source§

impl DivAssign for LittleEndian<f64>

source§

fn div_assign(&mut self, other: Self)

Performs the /= operation. Read more
source§

impl DivAssign for LittleEndian<i128>

source§

fn div_assign(&mut self, other: Self)

Performs the /= operation. Read more
source§

impl DivAssign for LittleEndian<i16>

source§

fn div_assign(&mut self, other: Self)

Performs the /= operation. Read more
source§

impl DivAssign for LittleEndian<i32>

source§

fn div_assign(&mut self, other: Self)

Performs the /= operation. Read more
source§

impl DivAssign for LittleEndian<i64>

source§

fn div_assign(&mut self, other: Self)

Performs the /= operation. Read more
source§

impl DivAssign for LittleEndian<i8>

source§

fn div_assign(&mut self, other: Self)

Performs the /= operation. Read more
source§

impl DivAssign for LittleEndian<isize>

source§

fn div_assign(&mut self, other: Self)

Performs the /= operation. Read more
source§

impl DivAssign for LittleEndian<u128>

source§

fn div_assign(&mut self, other: Self)

Performs the /= operation. Read more
source§

impl DivAssign for LittleEndian<u16>

source§

fn div_assign(&mut self, other: Self)

Performs the /= operation. Read more
source§

impl DivAssign for LittleEndian<u32>

source§

fn div_assign(&mut self, other: Self)

Performs the /= operation. Read more
source§

impl DivAssign for LittleEndian<u64>

source§

fn div_assign(&mut self, other: Self)

Performs the /= operation. Read more
source§

impl DivAssign for LittleEndian<u8>

source§

fn div_assign(&mut self, other: Self)

Performs the /= operation. Read more
source§

impl DivAssign for LittleEndian<usize>

source§

fn div_assign(&mut self, other: Self)

Performs the /= operation. Read more
source§

impl<T: SpecificEndian<T>> From<BigEndian<T>> for LittleEndian<T>

Allow conversion directly from BigEndian<T> to LittleEndian<T> without manually going through native endian.

source§

fn from(v: BigEndian<T>) -> LittleEndian<T>

Converts to this type from the input type.
source§

impl<T: SpecificEndian<T>> From<LittleEndian<T>> for BigEndian<T>

Allow conversion directly from LittleEndian<T> to BigEndian<T> without manually going through native endian.

source§

fn from(v: LittleEndian<T>) -> BigEndian<T>

Converts to this type from the input type.
source§

impl From<LittleEndian<bool>> for bool

source§

fn from(v: LittleEndian<bool>) -> bool

Converts to this type from the input type.
source§

impl From<LittleEndian<f32>> for f32

source§

fn from(v: LittleEndian<f32>) -> f32

Converts to this type from the input type.
source§

impl From<LittleEndian<f64>> for f64

source§

fn from(v: LittleEndian<f64>) -> f64

Converts to this type from the input type.
source§

impl From<LittleEndian<i128>> for i128

source§

fn from(v: LittleEndian<i128>) -> i128

Converts to this type from the input type.
source§

impl From<LittleEndian<i16>> for i16

source§

fn from(v: LittleEndian<i16>) -> i16

Converts to this type from the input type.
source§

impl From<LittleEndian<i32>> for i32

source§

fn from(v: LittleEndian<i32>) -> i32

Converts to this type from the input type.
source§

impl From<LittleEndian<i64>> for i64

source§

fn from(v: LittleEndian<i64>) -> i64

Converts to this type from the input type.
source§

impl From<LittleEndian<i8>> for i8

source§

fn from(v: LittleEndian<i8>) -> i8

Converts to this type from the input type.
source§

impl From<LittleEndian<isize>> for isize

source§

fn from(v: LittleEndian<isize>) -> isize

Converts to this type from the input type.
source§

impl From<LittleEndian<u128>> for u128

source§

fn from(v: LittleEndian<u128>) -> u128

Converts to this type from the input type.
source§

impl From<LittleEndian<u16>> for u16

source§

fn from(v: LittleEndian<u16>) -> u16

Converts to this type from the input type.
source§

impl From<LittleEndian<u32>> for u32

source§

fn from(v: LittleEndian<u32>) -> u32

Converts to this type from the input type.
source§

impl From<LittleEndian<u64>> for u64

source§

fn from(v: LittleEndian<u64>) -> u64

Converts to this type from the input type.
source§

impl From<LittleEndian<u8>> for u8

source§

fn from(v: LittleEndian<u8>) -> u8

Converts to this type from the input type.
source§

impl From<LittleEndian<usize>> for usize

source§

fn from(v: LittleEndian<usize>) -> usize

Converts to this type from the input type.
source§

impl<T: SpecificEndian<T>> From<T> for LittleEndian<T>

source§

fn from(v: T) -> LittleEndian<T>

Converts to this type from the input type.
source§

impl<T: Hash + SpecificEndian<T>> Hash for LittleEndian<T>

source§

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

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<T: LowerHex + SpecificEndian<T>> LowerHex for LittleEndian<T>

source§

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

Formats the value using the given formatter.
source§

impl Mul for LittleEndian<f32>

§

type Output = LittleEndian<f32>

The resulting type after applying the * operator.
source§

fn mul(self, other: Self) -> Self

Performs the * operation. Read more
source§

impl Mul for LittleEndian<f64>

§

type Output = LittleEndian<f64>

The resulting type after applying the * operator.
source§

fn mul(self, other: Self) -> Self

Performs the * operation. Read more
source§

impl Mul for LittleEndian<i128>

§

type Output = LittleEndian<i128>

The resulting type after applying the * operator.
source§

fn mul(self, other: Self) -> Self

Performs the * operation. Read more
source§

impl Mul for LittleEndian<i16>

§

type Output = LittleEndian<i16>

The resulting type after applying the * operator.
source§

fn mul(self, other: Self) -> Self

Performs the * operation. Read more
source§

impl Mul for LittleEndian<i32>

§

type Output = LittleEndian<i32>

The resulting type after applying the * operator.
source§

fn mul(self, other: Self) -> Self

Performs the * operation. Read more
source§

impl Mul for LittleEndian<i64>

§

type Output = LittleEndian<i64>

The resulting type after applying the * operator.
source§

fn mul(self, other: Self) -> Self

Performs the * operation. Read more
source§

impl Mul for LittleEndian<i8>

§

type Output = LittleEndian<i8>

The resulting type after applying the * operator.
source§

fn mul(self, other: Self) -> Self

Performs the * operation. Read more
source§

impl Mul for LittleEndian<isize>

§

type Output = LittleEndian<isize>

The resulting type after applying the * operator.
source§

fn mul(self, other: Self) -> Self

Performs the * operation. Read more
source§

impl Mul for LittleEndian<u128>

§

type Output = LittleEndian<u128>

The resulting type after applying the * operator.
source§

fn mul(self, other: Self) -> Self

Performs the * operation. Read more
source§

impl Mul for LittleEndian<u16>

§

type Output = LittleEndian<u16>

The resulting type after applying the * operator.
source§

fn mul(self, other: Self) -> Self

Performs the * operation. Read more
source§

impl Mul for LittleEndian<u32>

§

type Output = LittleEndian<u32>

The resulting type after applying the * operator.
source§

fn mul(self, other: Self) -> Self

Performs the * operation. Read more
source§

impl Mul for LittleEndian<u64>

§

type Output = LittleEndian<u64>

The resulting type after applying the * operator.
source§

fn mul(self, other: Self) -> Self

Performs the * operation. Read more
source§

impl Mul for LittleEndian<u8>

§

type Output = LittleEndian<u8>

The resulting type after applying the * operator.
source§

fn mul(self, other: Self) -> Self

Performs the * operation. Read more
source§

impl Mul for LittleEndian<usize>

§

type Output = LittleEndian<usize>

The resulting type after applying the * operator.
source§

fn mul(self, other: Self) -> Self

Performs the * operation. Read more
source§

impl MulAssign for LittleEndian<f32>

source§

fn mul_assign(&mut self, other: Self)

Performs the *= operation. Read more
source§

impl MulAssign for LittleEndian<f64>

source§

fn mul_assign(&mut self, other: Self)

Performs the *= operation. Read more
source§

impl MulAssign for LittleEndian<i128>

source§

fn mul_assign(&mut self, other: Self)

Performs the *= operation. Read more
source§

impl MulAssign for LittleEndian<i16>

source§

fn mul_assign(&mut self, other: Self)

Performs the *= operation. Read more
source§

impl MulAssign for LittleEndian<i32>

source§

fn mul_assign(&mut self, other: Self)

Performs the *= operation. Read more
source§

impl MulAssign for LittleEndian<i64>

source§

fn mul_assign(&mut self, other: Self)

Performs the *= operation. Read more
source§

impl MulAssign for LittleEndian<i8>

source§

fn mul_assign(&mut self, other: Self)

Performs the *= operation. Read more
source§

impl MulAssign for LittleEndian<isize>

source§

fn mul_assign(&mut self, other: Self)

Performs the *= operation. Read more
source§

impl MulAssign for LittleEndian<u128>

source§

fn mul_assign(&mut self, other: Self)

Performs the *= operation. Read more
source§

impl MulAssign for LittleEndian<u16>

source§

fn mul_assign(&mut self, other: Self)

Performs the *= operation. Read more
source§

impl MulAssign for LittleEndian<u32>

source§

fn mul_assign(&mut self, other: Self)

Performs the *= operation. Read more
source§

impl MulAssign for LittleEndian<u64>

source§

fn mul_assign(&mut self, other: Self)

Performs the *= operation. Read more
source§

impl MulAssign for LittleEndian<u8>

source§

fn mul_assign(&mut self, other: Self)

Performs the *= operation. Read more
source§

impl MulAssign for LittleEndian<usize>

source§

fn mul_assign(&mut self, other: Self)

Performs the *= operation. Read more
source§

impl Neg for LittleEndian<f32>

§

type Output = LittleEndian<f32>

The resulting type after applying the - operator.
source§

fn neg(self) -> Self

Performs the unary - operation. Read more
source§

impl Neg for LittleEndian<f64>

§

type Output = LittleEndian<f64>

The resulting type after applying the - operator.
source§

fn neg(self) -> Self

Performs the unary - operation. Read more
source§

impl Neg for LittleEndian<i128>

§

type Output = LittleEndian<i128>

The resulting type after applying the - operator.
source§

fn neg(self) -> Self

Performs the unary - operation. Read more
source§

impl Neg for LittleEndian<i16>

§

type Output = LittleEndian<i16>

The resulting type after applying the - operator.
source§

fn neg(self) -> Self

Performs the unary - operation. Read more
source§

impl Neg for LittleEndian<i32>

§

type Output = LittleEndian<i32>

The resulting type after applying the - operator.
source§

fn neg(self) -> Self

Performs the unary - operation. Read more
source§

impl Neg for LittleEndian<i64>

§

type Output = LittleEndian<i64>

The resulting type after applying the - operator.
source§

fn neg(self) -> Self

Performs the unary - operation. Read more
source§

impl Neg for LittleEndian<i8>

§

type Output = LittleEndian<i8>

The resulting type after applying the - operator.
source§

fn neg(self) -> Self

Performs the unary - operation. Read more
source§

impl Neg for LittleEndian<isize>

§

type Output = LittleEndian<isize>

The resulting type after applying the - operator.
source§

fn neg(self) -> Self

Performs the unary - operation. Read more
source§

impl Not for LittleEndian<bool>

§

type Output = LittleEndian<bool>

The resulting type after applying the ! operator.
source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
source§

impl Not for LittleEndian<i128>

§

type Output = LittleEndian<i128>

The resulting type after applying the ! operator.
source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
source§

impl Not for LittleEndian<i16>

§

type Output = LittleEndian<i16>

The resulting type after applying the ! operator.
source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
source§

impl Not for LittleEndian<i32>

§

type Output = LittleEndian<i32>

The resulting type after applying the ! operator.
source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
source§

impl Not for LittleEndian<i64>

§

type Output = LittleEndian<i64>

The resulting type after applying the ! operator.
source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
source§

impl Not for LittleEndian<i8>

§

type Output = LittleEndian<i8>

The resulting type after applying the ! operator.
source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
source§

impl Not for LittleEndian<isize>

§

type Output = LittleEndian<isize>

The resulting type after applying the ! operator.
source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
source§

impl Not for LittleEndian<u128>

§

type Output = LittleEndian<u128>

The resulting type after applying the ! operator.
source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
source§

impl Not for LittleEndian<u16>

§

type Output = LittleEndian<u16>

The resulting type after applying the ! operator.
source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
source§

impl Not for LittleEndian<u32>

§

type Output = LittleEndian<u32>

The resulting type after applying the ! operator.
source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
source§

impl Not for LittleEndian<u64>

§

type Output = LittleEndian<u64>

The resulting type after applying the ! operator.
source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
source§

impl Not for LittleEndian<u8>

§

type Output = LittleEndian<u8>

The resulting type after applying the ! operator.
source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
source§

impl Not for LittleEndian<usize>

§

type Output = LittleEndian<usize>

The resulting type after applying the ! operator.
source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
source§

impl<T: Octal + SpecificEndian<T>> Octal for LittleEndian<T>

source§

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

Formats the value using the given formatter.
source§

impl Ord for LittleEndian<bool>

source§

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

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl Ord for LittleEndian<i128>

source§

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

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl Ord for LittleEndian<i16>

source§

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

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl Ord for LittleEndian<i32>

source§

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

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl Ord for LittleEndian<i64>

source§

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

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl Ord for LittleEndian<i8>

source§

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

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl Ord for LittleEndian<isize>

source§

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

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl Ord for LittleEndian<u128>

source§

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

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl Ord for LittleEndian<u16>

source§

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

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl Ord for LittleEndian<u32>

source§

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

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl Ord for LittleEndian<u64>

source§

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

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl Ord for LittleEndian<u8>

source§

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

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl Ord for LittleEndian<usize>

source§

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

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl<T: PartialEq + SpecificEndian<T>> PartialEq for LittleEndian<T>

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for LittleEndian<bool>

source§

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

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl PartialOrd for LittleEndian<f32>

source§

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

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl PartialOrd for LittleEndian<f64>

source§

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

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl PartialOrd for LittleEndian<i128>

source§

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

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl PartialOrd for LittleEndian<i16>

source§

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

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl PartialOrd for LittleEndian<i32>

source§

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

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl PartialOrd for LittleEndian<i64>

source§

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

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl PartialOrd for LittleEndian<i8>

source§

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

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl PartialOrd for LittleEndian<isize>

source§

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

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl PartialOrd for LittleEndian<u128>

source§

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

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl PartialOrd for LittleEndian<u16>

source§

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

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl PartialOrd for LittleEndian<u32>

source§

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

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl PartialOrd for LittleEndian<u64>

source§

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

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl PartialOrd for LittleEndian<u8>

source§

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

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl PartialOrd for LittleEndian<usize>

source§

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

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Shl for LittleEndian<i128>

§

type Output = LittleEndian<i128>

The resulting type after applying the << operator.
source§

fn shl(self, other: Self) -> Self

Performs the << operation. Read more
source§

impl Shl for LittleEndian<i16>

§

type Output = LittleEndian<i16>

The resulting type after applying the << operator.
source§

fn shl(self, other: Self) -> Self

Performs the << operation. Read more
source§

impl Shl for LittleEndian<i32>

§

type Output = LittleEndian<i32>

The resulting type after applying the << operator.
source§

fn shl(self, other: Self) -> Self

Performs the << operation. Read more
source§

impl Shl for LittleEndian<i64>

§

type Output = LittleEndian<i64>

The resulting type after applying the << operator.
source§

fn shl(self, other: Self) -> Self

Performs the << operation. Read more
source§

impl Shl for LittleEndian<i8>

§

type Output = LittleEndian<i8>

The resulting type after applying the << operator.
source§

fn shl(self, other: Self) -> Self

Performs the << operation. Read more
source§

impl Shl for LittleEndian<isize>

§

type Output = LittleEndian<isize>

The resulting type after applying the << operator.
source§

fn shl(self, other: Self) -> Self

Performs the << operation. Read more
source§

impl Shl for LittleEndian<u128>

§

type Output = LittleEndian<u128>

The resulting type after applying the << operator.
source§

fn shl(self, other: Self) -> Self

Performs the << operation. Read more
source§

impl Shl for LittleEndian<u16>

§

type Output = LittleEndian<u16>

The resulting type after applying the << operator.
source§

fn shl(self, other: Self) -> Self

Performs the << operation. Read more
source§

impl Shl for LittleEndian<u32>

§

type Output = LittleEndian<u32>

The resulting type after applying the << operator.
source§

fn shl(self, other: Self) -> Self

Performs the << operation. Read more
source§

impl Shl for LittleEndian<u64>

§

type Output = LittleEndian<u64>

The resulting type after applying the << operator.
source§

fn shl(self, other: Self) -> Self

Performs the << operation. Read more
source§

impl Shl for LittleEndian<u8>

§

type Output = LittleEndian<u8>

The resulting type after applying the << operator.
source§

fn shl(self, other: Self) -> Self

Performs the << operation. Read more
source§

impl Shl for LittleEndian<usize>

§

type Output = LittleEndian<usize>

The resulting type after applying the << operator.
source§

fn shl(self, other: Self) -> Self

Performs the << operation. Read more
source§

impl ShlAssign for LittleEndian<i128>

source§

fn shl_assign(&mut self, rhs: Self)

Performs the <<= operation. Read more
source§

impl ShlAssign for LittleEndian<i16>

source§

fn shl_assign(&mut self, rhs: Self)

Performs the <<= operation. Read more
source§

impl ShlAssign for LittleEndian<i32>

source§

fn shl_assign(&mut self, rhs: Self)

Performs the <<= operation. Read more
source§

impl ShlAssign for LittleEndian<i64>

source§

fn shl_assign(&mut self, rhs: Self)

Performs the <<= operation. Read more
source§

impl ShlAssign for LittleEndian<i8>

source§

fn shl_assign(&mut self, rhs: Self)

Performs the <<= operation. Read more
source§

impl ShlAssign for LittleEndian<isize>

source§

fn shl_assign(&mut self, rhs: Self)

Performs the <<= operation. Read more
source§

impl ShlAssign for LittleEndian<u128>

source§

fn shl_assign(&mut self, rhs: Self)

Performs the <<= operation. Read more
source§

impl ShlAssign for LittleEndian<u16>

source§

fn shl_assign(&mut self, rhs: Self)

Performs the <<= operation. Read more
source§

impl ShlAssign for LittleEndian<u32>

source§

fn shl_assign(&mut self, rhs: Self)

Performs the <<= operation. Read more
source§

impl ShlAssign for LittleEndian<u64>

source§

fn shl_assign(&mut self, rhs: Self)

Performs the <<= operation. Read more
source§

impl ShlAssign for LittleEndian<u8>

source§

fn shl_assign(&mut self, rhs: Self)

Performs the <<= operation. Read more
source§

impl ShlAssign for LittleEndian<usize>

source§

fn shl_assign(&mut self, rhs: Self)

Performs the <<= operation. Read more
source§

impl Shr for LittleEndian<i128>

§

type Output = LittleEndian<i128>

The resulting type after applying the >> operator.
source§

fn shr(self, other: Self) -> Self

Performs the >> operation. Read more
source§

impl Shr for LittleEndian<i16>

§

type Output = LittleEndian<i16>

The resulting type after applying the >> operator.
source§

fn shr(self, other: Self) -> Self

Performs the >> operation. Read more
source§

impl Shr for LittleEndian<i32>

§

type Output = LittleEndian<i32>

The resulting type after applying the >> operator.
source§

fn shr(self, other: Self) -> Self

Performs the >> operation. Read more
source§

impl Shr for LittleEndian<i64>

§

type Output = LittleEndian<i64>

The resulting type after applying the >> operator.
source§

fn shr(self, other: Self) -> Self

Performs the >> operation. Read more
source§

impl Shr for LittleEndian<i8>

§

type Output = LittleEndian<i8>

The resulting type after applying the >> operator.
source§

fn shr(self, other: Self) -> Self

Performs the >> operation. Read more
source§

impl Shr for LittleEndian<isize>

§

type Output = LittleEndian<isize>

The resulting type after applying the >> operator.
source§

fn shr(self, other: Self) -> Self

Performs the >> operation. Read more
source§

impl Shr for LittleEndian<u128>

§

type Output = LittleEndian<u128>

The resulting type after applying the >> operator.
source§

fn shr(self, other: Self) -> Self

Performs the >> operation. Read more
source§

impl Shr for LittleEndian<u16>

§

type Output = LittleEndian<u16>

The resulting type after applying the >> operator.
source§

fn shr(self, other: Self) -> Self

Performs the >> operation. Read more
source§

impl Shr for LittleEndian<u32>

§

type Output = LittleEndian<u32>

The resulting type after applying the >> operator.
source§

fn shr(self, other: Self) -> Self

Performs the >> operation. Read more
source§

impl Shr for LittleEndian<u64>

§

type Output = LittleEndian<u64>

The resulting type after applying the >> operator.
source§

fn shr(self, other: Self) -> Self

Performs the >> operation. Read more
source§

impl Shr for LittleEndian<u8>

§

type Output = LittleEndian<u8>

The resulting type after applying the >> operator.
source§

fn shr(self, other: Self) -> Self

Performs the >> operation. Read more
source§

impl Shr for LittleEndian<usize>

§

type Output = LittleEndian<usize>

The resulting type after applying the >> operator.
source§

fn shr(self, other: Self) -> Self

Performs the >> operation. Read more
source§

impl ShrAssign for LittleEndian<i128>

source§

fn shr_assign(&mut self, rhs: Self)

Performs the >>= operation. Read more
source§

impl ShrAssign for LittleEndian<i16>

source§

fn shr_assign(&mut self, rhs: Self)

Performs the >>= operation. Read more
source§

impl ShrAssign for LittleEndian<i32>

source§

fn shr_assign(&mut self, rhs: Self)

Performs the >>= operation. Read more
source§

impl ShrAssign for LittleEndian<i64>

source§

fn shr_assign(&mut self, rhs: Self)

Performs the >>= operation. Read more
source§

impl ShrAssign for LittleEndian<i8>

source§

fn shr_assign(&mut self, rhs: Self)

Performs the >>= operation. Read more
source§

impl ShrAssign for LittleEndian<isize>

source§

fn shr_assign(&mut self, rhs: Self)

Performs the >>= operation. Read more
source§

impl ShrAssign for LittleEndian<u128>

source§

fn shr_assign(&mut self, rhs: Self)

Performs the >>= operation. Read more
source§

impl ShrAssign for LittleEndian<u16>

source§

fn shr_assign(&mut self, rhs: Self)

Performs the >>= operation. Read more
source§

impl ShrAssign for LittleEndian<u32>

source§

fn shr_assign(&mut self, rhs: Self)

Performs the >>= operation. Read more
source§

impl ShrAssign for LittleEndian<u64>

source§

fn shr_assign(&mut self, rhs: Self)

Performs the >>= operation. Read more
source§

impl ShrAssign for LittleEndian<u8>

source§

fn shr_assign(&mut self, rhs: Self)

Performs the >>= operation. Read more
source§

impl ShrAssign for LittleEndian<usize>

source§

fn shr_assign(&mut self, rhs: Self)

Performs the >>= operation. Read more
source§

impl Sub for LittleEndian<f32>

§

type Output = LittleEndian<f32>

The resulting type after applying the - operator.
source§

fn sub(self, other: Self) -> Self

Performs the - operation. Read more
source§

impl Sub for LittleEndian<f64>

§

type Output = LittleEndian<f64>

The resulting type after applying the - operator.
source§

fn sub(self, other: Self) -> Self

Performs the - operation. Read more
source§

impl Sub for LittleEndian<i128>

§

type Output = LittleEndian<i128>

The resulting type after applying the - operator.
source§

fn sub(self, other: Self) -> Self

Performs the - operation. Read more
source§

impl Sub for LittleEndian<i16>

§

type Output = LittleEndian<i16>

The resulting type after applying the - operator.
source§

fn sub(self, other: Self) -> Self

Performs the - operation. Read more
source§

impl Sub for LittleEndian<i32>

§

type Output = LittleEndian<i32>

The resulting type after applying the - operator.
source§

fn sub(self, other: Self) -> Self

Performs the - operation. Read more
source§

impl Sub for LittleEndian<i64>

§

type Output = LittleEndian<i64>

The resulting type after applying the - operator.
source§

fn sub(self, other: Self) -> Self

Performs the - operation. Read more
source§

impl Sub for LittleEndian<i8>

§

type Output = LittleEndian<i8>

The resulting type after applying the - operator.
source§

fn sub(self, other: Self) -> Self

Performs the - operation. Read more
source§

impl Sub for LittleEndian<isize>

§

type Output = LittleEndian<isize>

The resulting type after applying the - operator.
source§

fn sub(self, other: Self) -> Self

Performs the - operation. Read more
source§

impl Sub for LittleEndian<u128>

§

type Output = LittleEndian<u128>

The resulting type after applying the - operator.
source§

fn sub(self, other: Self) -> Self

Performs the - operation. Read more
source§

impl Sub for LittleEndian<u16>

§

type Output = LittleEndian<u16>

The resulting type after applying the - operator.
source§

fn sub(self, other: Self) -> Self

Performs the - operation. Read more
source§

impl Sub for LittleEndian<u32>

§

type Output = LittleEndian<u32>

The resulting type after applying the - operator.
source§

fn sub(self, other: Self) -> Self

Performs the - operation. Read more
source§

impl Sub for LittleEndian<u64>

§

type Output = LittleEndian<u64>

The resulting type after applying the - operator.
source§

fn sub(self, other: Self) -> Self

Performs the - operation. Read more
source§

impl Sub for LittleEndian<u8>

§

type Output = LittleEndian<u8>

The resulting type after applying the - operator.
source§

fn sub(self, other: Self) -> Self

Performs the - operation. Read more
source§

impl Sub for LittleEndian<usize>

§

type Output = LittleEndian<usize>

The resulting type after applying the - operator.
source§

fn sub(self, other: Self) -> Self

Performs the - operation. Read more
source§

impl SubAssign for LittleEndian<f32>

source§

fn sub_assign(&mut self, other: Self)

Performs the -= operation. Read more
source§

impl SubAssign for LittleEndian<f64>

source§

fn sub_assign(&mut self, other: Self)

Performs the -= operation. Read more
source§

impl SubAssign for LittleEndian<i128>

source§

fn sub_assign(&mut self, other: Self)

Performs the -= operation. Read more
source§

impl SubAssign for LittleEndian<i16>

source§

fn sub_assign(&mut self, other: Self)

Performs the -= operation. Read more
source§

impl SubAssign for LittleEndian<i32>

source§

fn sub_assign(&mut self, other: Self)

Performs the -= operation. Read more
source§

impl SubAssign for LittleEndian<i64>

source§

fn sub_assign(&mut self, other: Self)

Performs the -= operation. Read more
source§

impl SubAssign for LittleEndian<i8>

source§

fn sub_assign(&mut self, other: Self)

Performs the -= operation. Read more
source§

impl SubAssign for LittleEndian<isize>

source§

fn sub_assign(&mut self, other: Self)

Performs the -= operation. Read more
source§

impl SubAssign for LittleEndian<u128>

source§

fn sub_assign(&mut self, other: Self)

Performs the -= operation. Read more
source§

impl SubAssign for LittleEndian<u16>

source§

fn sub_assign(&mut self, other: Self)

Performs the -= operation. Read more
source§

impl SubAssign for LittleEndian<u32>

source§

fn sub_assign(&mut self, other: Self)

Performs the -= operation. Read more
source§

impl SubAssign for LittleEndian<u64>

source§

fn sub_assign(&mut self, other: Self)

Performs the -= operation. Read more
source§

impl SubAssign for LittleEndian<u8>

source§

fn sub_assign(&mut self, other: Self)

Performs the -= operation. Read more
source§

impl SubAssign for LittleEndian<usize>

source§

fn sub_assign(&mut self, other: Self)

Performs the -= operation. Read more
source§

impl<T: UpperHex + SpecificEndian<T>> UpperHex for LittleEndian<T>

source§

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

Formats the value using the given formatter.
source§

impl<T: Copy + SpecificEndian<T>> Copy for LittleEndian<T>

source§

impl<T: Eq + SpecificEndian<T>> Eq for LittleEndian<T>

source§

impl<T: SpecificEndian<T>> StructuralPartialEq for LittleEndian<T>

Auto Trait Implementations§

§

impl<T> RefUnwindSafe for LittleEndian<T>
where T: RefUnwindSafe,

§

impl<T> Send for LittleEndian<T>
where T: Send,

§

impl<T> Sync for LittleEndian<T>
where T: Sync,

§

impl<T> Unpin for LittleEndian<T>
where T: Unpin,

§

impl<T> UnwindSafe for LittleEndian<T>
where T: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

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

Performs the conversion.
source§

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

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

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

Performs the conversion.