Enum object::endian::Endianness
source · [−]pub enum Endianness {
Little,
Big,
}
Expand description
An endianness that is selectable at run-time.
Variants
Little
Little endian byte order.
Big
Big endian byte order.
Trait Implementations
Returns the “default value” for a type. Read more
Construct a specification for the endianness of some values. Read more
Return true for big endian byte order.
Construct a specification for the endianness of some values. Read more
Return true for little endian byte order.
Converts an unaligned unsigned 16 bit integer to native endian.
Converts an unaligned unsigned 32 bit integer to native endian.
Converts an unaligned unsigned 64 bit integer to native endian.
Converts an unaligned signed 16 bit integer to native endian.
Converts an unaligned signed 32 bit integer to native endian.
Converts an unaligned signed 64 bit integer to native endian.
Converts an unaligned unsigned 16 bit integer from native endian.
Converts an unaligned unsigned 32 bit integer from native endian.
Converts an unaligned unsigned 64 bit integer from native endian.
Converts an unaligned signed 16 bit integer from native endian.
Converts an unaligned signed 32 bit integer from native endian.
Auto Trait Implementations
impl RefUnwindSafe for Endianness
impl Send for Endianness
impl Sync for Endianness
impl Unpin for Endianness
impl UnwindSafe for Endianness
Blanket Implementations
Mutably borrows from an owned value. Read more