Trait Endianness

Source
pub trait Endianness {
    const IS_NATIVE: bool;
}
Expand description

Trait that allows a struct to be used as an endianness when working with binary

Required Associated Constants§

Source

const IS_NATIVE: bool

Wether or not this endianness is the same as the target machine

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§