pub trait WriteSane: SaneData {
// Required method
fn to_le_bytes(elem: Self) -> Vec<u8> ⓘ;
}
Expand description
To be able to write SANE data we need to be able to convert an element to a byte sequence
Required Methods§
fn to_le_bytes(elem: Self) -> Vec<u8> ⓘ
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.