pub trait Encoder: Sealed {
    type W: Writer;
    type C: Config;
    fn writer(&mut self) -> &mut Self::W;
fn config(&self) -> &Self::C; }
Expand description

Helper trait to encode basic types into.

Associated Types

The concrete Writer type

The concrete Config type

Required methods

Returns a mutable reference to the writer

Returns a reference to the config

Implementations on Foreign Types

Implementors