[][src]Trait combinedfun::traits::Collection

pub trait Collection {
    type Item;
    fn reserve(&mut self, additional: usize);
fn push(&mut self, index: usize, item: Self::Item); }

This trait is implemented for collections you can push to.

Associated Types

type Item

Loading content...

Required methods

fn reserve(&mut self, additional: usize)

fn push(&mut self, index: usize, item: Self::Item)

Loading content...

Implementations on Foreign Types

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

type Item = T

impl Collection for String[src]

type Item = char

impl<T> Collection for Option<T>[src]

type Item = T

impl<T> Collection for [T; 0] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 1] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 2] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 3] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 4] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 5] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 6] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 7] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 8] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 9] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 10] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 11] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 12] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 13] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 14] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 15] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 16] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 17] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 18] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 19] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 20] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 21] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 22] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 23] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 24] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 25] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 26] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 27] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 28] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 29] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 30] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 31] where
    T: Default
[src]

type Item = T

impl<T> Collection for [T; 32] where
    T: Default
[src]

type Item = T

Loading content...

Implementors

impl<T> Collection for NoCollection<T>[src]

type Item = T

impl<T, I> Collection for ExtendCollection<T, I> where
    T: Extend<I>, 
[src]

type Item = I

Loading content...