Struct endian_type::BigEndian [] [src]

pub struct BigEndian<T>(_);

Big endian byte order

Most significant byte first

Methods

impl<T> BigEndian<T> where
    T: Sized + Copy
[src]

Trait Implementations

impl<T: Copy> Copy for BigEndian<T>
[src]

impl<T: Clone> Clone for BigEndian<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for BigEndian<T>
[src]

Formats the value using the given formatter.

impl<T: Eq> Eq for BigEndian<T>
[src]

impl<T: PartialEq> PartialEq for BigEndian<T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: Hash> Hash for BigEndian<T>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<T: Ord> Ord for BigEndian<T>
[src]

This method returns an Ordering between self and other. Read more

impl<T: PartialOrd> PartialOrd for BigEndian<T>
[src]

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

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

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

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

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 BigEndian<T>
[src]

impl<T> BitAnd for BigEndian<T> where
    T: BitAnd
[src]

The resulting type after applying the & operator

The method for the & operator

impl<T> BitOr for BigEndian<T> where
    T: BitOr
[src]

The resulting type after applying the | operator

The method for the | operator

impl<T> BitXor for BigEndian<T> where
    T: BitXor
[src]

The resulting type after applying the ^ operator

The method for the ^ operator

impl Into<u16> for BigEndian<u16>
[src]

Performs the conversion.

impl From<u16> for BigEndian<u16>
[src]

Performs the conversion.

impl From<LittleEndian<u16>> for BigEndian<u16>
[src]

Performs the conversion.

impl Into<u32> for BigEndian<u32>
[src]

Performs the conversion.

impl From<u32> for BigEndian<u32>
[src]

Performs the conversion.

impl From<LittleEndian<u32>> for BigEndian<u32>
[src]

Performs the conversion.

impl Into<u64> for BigEndian<u64>
[src]

Performs the conversion.

impl From<u64> for BigEndian<u64>
[src]

Performs the conversion.

impl From<LittleEndian<u64>> for BigEndian<u64>
[src]

Performs the conversion.

impl Into<usize> for BigEndian<usize>
[src]

Performs the conversion.

impl From<usize> for BigEndian<usize>
[src]

Performs the conversion.

impl From<LittleEndian<usize>> for BigEndian<usize>
[src]

Performs the conversion.

impl Into<i16> for BigEndian<i16>
[src]

Performs the conversion.

impl From<i16> for BigEndian<i16>
[src]

Performs the conversion.

impl From<LittleEndian<i16>> for BigEndian<i16>
[src]

Performs the conversion.

impl Into<i32> for BigEndian<i32>
[src]

Performs the conversion.

impl From<i32> for BigEndian<i32>
[src]

Performs the conversion.

impl From<LittleEndian<i32>> for BigEndian<i32>
[src]

Performs the conversion.

impl Into<i64> for BigEndian<i64>
[src]

Performs the conversion.

impl From<i64> for BigEndian<i64>
[src]

Performs the conversion.

impl From<LittleEndian<i64>> for BigEndian<i64>
[src]

Performs the conversion.

impl Into<isize> for BigEndian<isize>
[src]

Performs the conversion.

impl From<isize> for BigEndian<isize>
[src]

Performs the conversion.

impl From<LittleEndian<isize>> for BigEndian<isize>
[src]

Performs the conversion.