pub trait Storage<'a, T> {
    type Backing;

    fn single(ty: T) -> Self::Backing;
    fn get_first_with_len(b: &Self::Backing) -> Option<(&T, usize)>;
}
Expand description

Specifies the internal Storage Type of the Sequence

Required Associated Types

Type to use as storage type;

Required Methods

Creates the Storage for a single value

Returns the first element of the vector if available and the size of the remaining vector without the first element

Implementations on Foreign Types

Implementors