Trait ToBitStreamWith
trait ToBitStreamWith<'a>
Implemented by complex types that require additional context to build themselves to a writer
Associated Types
type Context: Outlives("'a")Some context to use when writing
type ErrorError generated during building, such as
io::Error
Required Methods
fn to_writer<W: BitWrite + ?Sized>(self: &Self, w: &mut W, context: &<Self as >::Context) -> Result<(), <Self as >::Error> where Self: SizedGenerate self to writer