pub trait Sequence<T>: Index<usize, Output = T> {
    fn len(&self) -> usize;
}
Expand description

Represents something corresponds to a sequence of items, such as a Vec.

Required Methods

Get the length of the underlying sequence.

Implementations on Foreign Types

Default implementation of sequence for Vec.

Implementors