Struct ami::Vec [] [src]

pub struct Vec<T> { /* fields omitted */ }

A growable array on the heap.

Methods

impl<T> Vec<T>
[src]

[src]

Create an empty Vec<T>.

[src]

Create an empty Vec<T>.

[src]

Append an element at the end of the Vec<T>.

[src]

Remove the last element of the Vec<T> and return it, or None if the Vec<T> is empty.

[src]

Get a raw pointer to the Vec<T>'s Buffer.

[src]

Get a slice of Vec<T>'s Buffer.

[src]

Get a slice of Vec<T>'s Buffer.

Trait Implementations

impl<T> Display for Vec<T> where
    T: Display
[src]

[src]

Formats the value using the given formatter. Read more

impl<T> Deref for Vec<T>
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl<T> DerefMut for Vec<T>
[src]

[src]

Mutably dereferences the value.

impl<T> Index<usize> for Vec<T>
[src]

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.

impl<T> IndexMut<usize> for Vec<T>
[src]

[src]

Performs the mutable indexing (container[index]) operation.