[src]

Trait std::slice::Vector

pub trait Vector<T> {
    fn as_slice<'a>(&'a self) -> &'a [T];
}

Any vector that can be represented as a slice.

Required Methods

fn as_slice<'a>(&'a self) -> &'a [T]

Work with self as a slice.

Implementors