pub trait UnsignedPublicInteger: UnsignedInteger + PublicInteger {
// Required methods
fn to_le_bytes(self) -> Seq<u8>;
fn to_be_bytes(self) -> Seq<u8>;
fn from_le_bytes(x: &Seq<u8>) -> Self;
fn from_be_bytes(x: &Seq<u8>) -> Self;
}
Required Methods§
fn to_le_bytes(self) -> Seq<u8>
fn to_be_bytes(self) -> Seq<u8>
fn from_le_bytes(x: &Seq<u8>) -> Self
fn from_be_bytes(x: &Seq<u8>) -> Self
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.