pub trait Endify {
// Required methods
fn to_le(self) -> Self;
fn to_be(self) -> Self;
fn from_le(self) -> Self;
fn from_be(self) -> Self;
}Expand description
A trait for converting between endianess-formts effortlessly.
Required Methods§
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.