pub fn into_iter(&self) -> impl DoubleEndedIterator<Item = T> {
        let mut next = &self.inner;
        let mut ret = Vec::new();
        while let ListInner::Cons(move_, ref tail) = **next {
            ret.push(move_);
            next = tail;
        }

        ret.into_iter()
    }
/// Transform the `List` into an iterator
Transform the `List` into an iterator
Transform the ` List ` into an iterator
pub fn into_iter(&self) -> impl DoubleEndedIterator<Item = T> {
        let mut next = &self.inner;
        let mut ret = Vec::new();
        while let ListInner::Cons(move_, ref tail) = **next {
            ret.push(move_);
            next = tail;
        }
        ret.into_iter()
    }
pub fn into_iter ( & self ) -> impl DoubleEndedIterator < Item = T > { let mut next = & self . inner ; let mut ret = Vec :: new ( ) ; while let ListInner :: Cons ( move_ , ref tail ) = * * next { ret . push ( move_ ) ; next = tail ; } ret . into_iter ( ) }
Transform the `List` into an iterator
Transform the ` List ` into an iterator
&self
&self