/// Convers this collection into a standard vector.
Convers this collection into a standard vector.
Convers this collection into a standard vector .
pub fn to_vec(self) -> Vec<T> {
        let mut res = vec![*self.elem];
        res.extend(self.rest.into_iter());
        res
    }
pub fn to_vec ( self ) -> Vec < T > { let mut res = vec ! [ self elem ] ; res . extend ( self . rest . into_iter ( ) ) ; res }
Convers this collection into a standard vector.
Convers this collection into a standard vector .
self