pub trait ExtStackClone<'a, Ctx: Context<'a>, A: Mentionable<'a, Ctx> + Clone>: MentionableBase<'a> {
    // Required method
    fn vec(self) -> StackVecWrapped<'a, Ctx, A>;
}
Expand description

Extention trait with helper methods for Stacks.

Required Methods§

source

fn vec(self) -> StackVecWrapped<'a, Ctx, A>

Collect all the elements into a Vec.

Implementors§

source§

impl<'a, Ctx: Context<'a>, A: Mentionable<'a, Ctx> + Clone> ExtStackClone<'a, Ctx, A> for Stack<'a, Ctx, A>where StackNode<'a, Ctx, A>: Mentionable<'a, Ctx, _Fctr = StackNodeFactory<Ctx, A::Fctr>>, StackNodeFactory<Ctx, A::Fctr>: FactoryParse<'a, Ctx>,