pub trait Encode {
// Required method
fn encode<W: Write>(&self, w: &mut W) -> Result<(), W::Error>;
}Expand description
A trait for encoding types as Essential Words in a manner compatible with Pint’s ABI.
Required Methods§
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.