fn iter(&mut self) -> impl Iterator<Item = (Hash, ListItem)> {
        let schema = self.schema;
        let types = self.types;
        self.list.drain().map(move |(doc, inner)| {
            (
                doc,
                ListItem {
                    inner,
                    types,
                    schema,
                },
            )
        })
    }
/// Iterate through the whole checklist, going through one item at a time. Each item should be
/// checked; see [`ListItem`] for details.
Iterate through the whole checklist, going through one item at a time. Each item should be
checked; see [`ListItem`] for details.
Iterate through the whole checklist going through one item at a time . Each item should be checked ; see [ ` ListItem ` ] for details .
fn iter(&mut self) -> impl Iterator<Item = (Hash, ListItem)> {
        let schema = self.schema;
        let types = self.types;
        self.list.drain().map(move |(doc, inner)| {
            (
                doc,
                ListItem {
                    inner,
                    types,
                    schema,
                },
            )
        })
    }
fn iter ( & mut self ) -> impl Iterator < Item = ( Hash , ListItem ) > { let schema = self . schema ; let types = self . types ; self . list . drain ( ) . map ( move | ( doc , inner ) | { ( doc , ListItem { inner , types , schema , } , ) } ) }
Iterate through the whole checklist, going through one item at a time.
Iterate through the whole checklist going through one item at a time .
&mut self
&mut self