Enum bytes::LittleEndian []

pub enum LittleEndian {}

Defines little-endian serialization.

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

Trait Implementations

impl PartialOrd<LittleEndian> for LittleEndian

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 Hash for LittleEndian

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Ord for LittleEndian

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

impl Eq for LittleEndian

impl PartialEq<LittleEndian> for LittleEndian

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

This method tests for !=.

impl Default for LittleEndian

impl Clone for LittleEndian

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for LittleEndian

impl ByteOrder for LittleEndian

Reads an unsigned 16 bit integer from buf. Read more

Reads an unsigned 32 bit integer from buf. Read more

Reads an unsigned 64 bit integer from buf. Read more

Reads an unsigned n-bytes integer from buf. Read more

Writes an unsigned 16 bit integer n to buf. Read more

Writes an unsigned 32 bit integer n to buf. Read more

Writes an unsigned 64 bit integer n to buf. Read more

Writes an unsigned integer n to buf using only nbytes. Read more

Reads a signed 16 bit integer from buf. Read more

Reads a signed 32 bit integer from buf. Read more

Reads a signed 64 bit integer from buf. Read more

Reads a signed n-bytes integer from buf. Read more

Reads a IEEE754 single-precision (4 bytes) floating point number. Read more

Reads a IEEE754 double-precision (8 bytes) floating point number. Read more

Writes a signed 16 bit integer n to buf. Read more

Writes a signed 32 bit integer n to buf. Read more

Writes a signed 64 bit integer n to buf. Read more

Writes a signed integer n to buf using only nbytes. Read more

Writes a IEEE754 single-precision (4 bytes) floating point number. Read more

Writes a IEEE754 double-precision (8 bytes) floating point number. Read more

impl Debug for LittleEndian

Formats the value using the given formatter.