pub trait Primitive: Sealed + Copy {
type BigEndian: Copy;
// Required methods
fn from_big_endian(be: Self::BigEndian) -> Self;
fn to_big_endian(ne: Self) -> Self::BigEndian;
}Required Associated Types§
Required Methods§
fn from_big_endian(be: Self::BigEndian) -> Self
fn to_big_endian(ne: Self) -> Self::BigEndian
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".