Parent

Trait Parent 

Source
pub trait Parent {
    // Required methods
    fn append(&mut self, builder: StreamBuilder);
    fn name(&self) -> &Ident;
    fn generics(&self) -> Option<&Generics>;
    fn generic_constraints(&self) -> Option<&GenericConstraints>;
}
Expand description

Helper trait to make it possible to nest several builders. Internal use only.

Required Methods§

Implementors§

Source§

impl Parent for Generator

Source§

impl<'a, P: Parent> Parent for GenEnum<'a, P>

Source§

impl<'a, P: Parent> Parent for GenStruct<'a, P>

Source§

impl<P: Parent> Parent for GenerateMod<'_, P>