Trait cornflakes::Writable
source · [−]pub trait Writable {
fn write_to(&self, writer: &mut impl Writer) -> Result<(), WriteError>
where
Self: Sized;
}Expand description
Writes a type as bytes.
pub trait Writable {
fn write_to(&self, writer: &mut impl Writer) -> Result<(), WriteError>
where
Self: Sized;
}Writes a type as bytes.