Struct endian_type::LittleEndian
[−]
[src]
pub struct LittleEndian<T>(_);
Little endian byte order
Least significant byte first
Methods
impl<T> LittleEndian<T> where
T: Sized + Copy,
[src]
T: Sized + Copy,
Trait Implementations
impl<T: Copy> Copy for LittleEndian<T>
[src]
impl<T: Clone> Clone for LittleEndian<T>
[src]
fn clone(&self) -> LittleEndian<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<T: Debug> Debug for LittleEndian<T>
[src]
impl<T: Eq> Eq for LittleEndian<T>
[src]
impl<T: PartialEq> PartialEq for LittleEndian<T>
[src]
fn eq(&self, __arg_0: &LittleEndian<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &LittleEndian<T>) -> bool
This method tests for !=
.
impl<T: Hash> Hash for LittleEndian<T>
[src]
fn hash<__HT: Hasher>(&self, __arg_0: &mut __HT)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<T: Ord> Ord for LittleEndian<T>
[src]
fn cmp(&self, __arg_0: &LittleEndian<T>) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl<T: PartialOrd> PartialOrd for LittleEndian<T>
[src]
fn partial_cmp(&self, __arg_0: &LittleEndian<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &LittleEndian<T>) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &LittleEndian<T>) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &LittleEndian<T>) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &LittleEndian<T>) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl<T> Endian<T> for LittleEndian<T>
[src]
impl<T> BitAnd for LittleEndian<T> where
T: BitAnd,
[src]
T: BitAnd,
type Output = LittleEndian<<T as BitAnd>::Output>
The resulting type after applying the &
operator
fn bitand(self, other: Self) -> Self::Output
The method for the &
operator
impl<T> BitOr for LittleEndian<T> where
T: BitOr,
[src]
T: BitOr,
type Output = LittleEndian<<T as BitOr>::Output>
The resulting type after applying the |
operator
fn bitor(self, other: Self) -> Self::Output
The method for the |
operator
impl<T> BitXor for LittleEndian<T> where
T: BitXor,
[src]
T: BitXor,
type Output = LittleEndian<<T as BitXor>::Output>
The resulting type after applying the ^
operator
fn bitxor(self, other: Self) -> Self::Output
The method for the ^
operator