pub fn iter(&self) -> ListIterator<'_, T>
    where
        T: FromBytes,
    {
        match self {
            List::DataRef(this) => ListIterator::DataRef(this.iter()),
            List::Array(this) => ListIterator::Array(this.iter()),
        }
    }
/// return an iterator over all items.
return an iterator over all items.
return an iterator over all items .
pub fn iter(&self) -> ListIterator<'_, T>
    where
        T: FromBytes,
    {
        match self {
            List::DataRef(this) => ListIterator::DataRef(this.iter()),
            List::Array(this) => ListIterator::Array(this.iter()),
        }
    }
pub fn iter ( & self ) -> ListIterator < ' _ , T > where T : FromBytes , { match self { List :: DataRef ( this ) => ListIterator :: DataRef ( this . iter ( ) ) , List :: Array ( this ) => ListIterator :: Array ( this . iter ( ) ) , } }
return an iterator over all items.
return an iterator over all items .
&self
&self