pub trait FromLEBytes<const N: usize> {
// Required method
fn from_le_bytes(bytes: [u8; N]) -> Self;
}
Expand description
Converts to the value from a constant number of bytes
Required Methods§
fn from_le_bytes(bytes: [u8; N]) -> 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.