pub trait Endianness {
// Required method
fn is_little_endian() -> bool;
}Expand description
Trait to determine the conversion methods for a specific endianness
Required Methods§
Sourcefn is_little_endian() -> bool
fn is_little_endian() -> bool
Converts a value between little-endian and the specified endianness
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.