pub trait WriteTuple: Sized {
    type Parent: TypedParent;

    fn write_field(self, value: &impl StrictEncode) -> Result<Self>;
    fn complete(self) -> Self::Parent;
}

Required Associated Types§

Required Methods§

source

fn write_field(self, value: &impl StrictEncode) -> Result<Self>

source

fn complete(self) -> Self::Parent

Implementors§

source§

impl<W: Write, P: StrictParent<W>> WriteTuple for StructWriter<W, P>

§

type Parent = P