pub trait Readable: Sized {
// Required method
fn read(reader: impl ReadExt, endian: Endian) -> Result<Self>;
}Expand description
A trait for objects that can be read.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".