Struct toolshed::list::ListBuilder [] [src]

pub struct ListBuilder<'arena, T: 'arena + Copy> { /* fields omitted */ }

A builder struct that allows to push elements onto the end of the list.

Methods

impl<'arena, T: 'arena + Copy> ListBuilder<'arena, T>
[src]

[src]

Create a new builder with the first element.

[src]

Push a new item at the end of the List.

[src]

Consume the builder and return a List.