pub trait WriteTuple: Sized {
    type Parent: TypedParent;

    // Required methods
    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

Object Safety§

This trait is not object safe.

Implementors§

source§

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

§

type Parent = P