pub trait SplitParent {
    type Parent: TypedParent;
    type Remnant;

    fn from_parent_split(parent: Self::Parent, remnant: Self::Remnant) -> Self;
    fn into_parent_split(self) -> (Self::Parent, Self::Remnant);
}

Required Associated Types§

Required Methods§

source

fn from_parent_split(parent: Self::Parent, remnant: Self::Remnant) -> Self

source

fn into_parent_split(self) -> (Self::Parent, Self::Remnant)

Implementors§

source§

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

§

type Parent = P

§

type Remnant = StructWriter<Sink, ParentDumb>