Struct chunky::Vector[][src]

pub struct Vector<Item: Clone, H: Handler> { /* fields omitted */ }

A vector which stores items of a known type in an Arena

Methods

impl<Item: Clone, H: Handler> Vector<Item, H>
[src]

Create a new chunky vector

Get the number of elements in the vector

Is the chunky vector empty?

Get a reference to the item at index

Get a mutable reference to the item at index

Push an item onto the vector

Remove and return the last item, if the vector wasn't empty

Auto Trait Implementations

impl<Item, H> !Send for Vector<Item, H>

impl<Item, H> !Sync for Vector<Item, H>