pub trait BoxedConstructor: Sized {
    const TL_ID: u32;

    fn boxed_writer(&self) -> BoxedWriter<&Self> { ... }
    fn into_boxed_writer(self) -> BoxedWriter<Self> { ... }
}
Expand description

Marks bare type with the appropriate constructor id

Required Associated Constants

Provided Methods

Wraps bare type reference into BoxedWriter

Converts bare type into BoxedWriter

Implementations on Foreign Types

Implementors