[][src]Enum byteorder::BigEndian

pub enum BigEndian {}

Defines big-endian serialization.

Note that this type has no value constructor. It is used purely at the type level.

Examples

Write and read u32 numbers in big endian order:

use byteorder::{ByteOrder, BigEndian};

let mut buf = [0; 4];
BigEndian::write_u32(&mut buf, 1_000_000);
assert_eq!(1_000_000, BigEndian::read_u32(&buf));

Trait Implementations

impl ByteOrder for BigEndian[src]

impl Eq for BigEndian[src]

impl Default for BigEndian[src]

impl Clone for BigEndian[src]

impl PartialOrd<BigEndian> for BigEndian[src]

impl PartialEq<BigEndian> for BigEndian[src]

impl Ord for BigEndian[src]

impl Copy for BigEndian[src]

impl Hash for BigEndian[src]

impl Debug for BigEndian[src]

Auto Trait Implementations

impl Send for BigEndian

impl Unpin for BigEndian

impl Sync for BigEndian

impl UnwindSafe for BigEndian

impl RefUnwindSafe for BigEndian

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]