Trait ByteOrder
trait ByteOrder: Copy + Clone + Debug + Display + Eq + PartialEq + Ord + PartialOrd + Hash + private::Sealed
A type-level representation of byte order.
This type is implemented by BigEndian and LittleEndian, which
represent big-endian and little-endian byte order respectively. This module
also provides a number of useful aliases for those types: NativeEndian,
NetworkEndian, BE, and LE.
ByteOrder types can be used to specify the byte order of the types in this
module - for example, U32<BigEndian> is a 32-bit integer stored in
big-endian byte order.
Implementors
impl ByteOrder for BigEndianimpl ByteOrder for LittleEndian