pub trait WriteEnum: Sized {
    type Parent: TypedWrite;

    // Required methods
    fn write_variant(self, name: FieldName) -> Result<Self>;
    fn complete(self) -> Self::Parent;
}

Required Associated Types§

Required Methods§

source

fn write_variant(self, name: FieldName) -> Result<Self>

source

fn complete(self) -> Self::Parent

Object Safety§

This trait is not object safe.

Implementors§