pub trait WriteEnum: Sized {
    type Parent: TypedWrite;

    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

Implementors§