Trait cornflakes::Writable

source ·
pub trait Writable: DataSize {
    fn write_to(&self, writer: &mut impl BufMut) -> WriteResult;
}
Expand description

Allows a type to be written as bytes.

Required Methods§

Writes self as bytes to a BufMut.

Implementations on Foreign Types§

Implementors§