pub fn iter(&self) -> impl Iterator<Item = (&K, &V)> {
        let mut ind = self.entries_head;
        std::iter::from_fn(move || {
            let next = ind?;
            let ret = self.entries[next].as_occupied();
            ind = ret.next;
            Some((&*ret.key, &*ret.item))
        })
    }
/// Iterator visiting entries in most-recently-used order.
Iterator visiting entries in most-recently-used order.
Iterator visiting entries in most - recently - used order .
pub fn iter(&self) -> impl Iterator<Item = (&K, &V)> {
        let mut ind = self.entries_head;
        std::iter::from_fn(move || {
            let next = ind?;
            let ret = self.entries[next].as_occupied();
            ind = ret.next;
            Some((&*ret.key, &*ret.item))
        })
    }
pub fn iter ( & self ) -> impl Iterator < Item = ( & K , & V ) > { let mut ind = self . entries_head ; std :: iter :: from_fn ( move | | { let next = ind ? ; let ret = self . entries [ next ] . as_occupied ( ) ; ind = ret . next ; Some ( ( & * ret . key , & * ret . item ) ) } ) }
Iterator visiting entries in most-recently-used order.
Iterator visiting entries in most - recently - used order .
&self
&self