pub(crate) fn swimlane<'a>(
        &'a self,
        uhash: &'a C::Hash,
    ) -> impl Iterator<Item = (&'a C::Hash, &'a Unit<C>)> {
        let mut next = Some(uhash);
        iter::from_fn(move || {
            let current = next?;
            let unit = self.unit(current);
            next = unit.previous();
            Some((current, unit))
        })
    }
/// Returns an iterator over units (with hashes) by the same creator, in reverse chronological
/// order, starting with the specified unit. Panics if no unit with `uhash` exists.
Returns an iterator over units (with hashes) by the same creator, in reverse chronological
order, starting with the specified unit. Panics if no unit with `uhash` exists.
Returns an iterator over units ( with hashes ) by the same creator in reverse chronological order starting with the specified unit . Panics if no unit with ` uhash ` exists .
pub(crate) fn swimlane<'a>(
        &'a self,
        uhash: &'a C::Hash,
    ) -> impl Iterator<Item = (&'a C::Hash, &'a Unit<C>)> {
        let mut next = Some(uhash);
        iter::from_fn(move || {
            let current = next?;
            let unit = self.unit(current);
            next = unit.previous();
            Some((current, unit))
        })
    }
pub ( crate ) fn swimlane < ' a > ( & ' a self , uhash : & ' a C :: Hash , ) -> impl Iterator < Item = ( & ' a C :: Hash , & ' a Unit < C > ) > { let mut next = Some ( uhash ) ; iter :: from_fn ( move | | { let current = next ? ; let unit = self . unit ( current ) ; next = unit . previous ( ) ; Some ( ( current , unit ) ) } ) }
Returns an iterator over units (with hashes) by the same creator, in reverse chronological
order, starting with the specified unit.
Returns an iterator over units ( with hashes ) by the same creator in reverse chronological order starting with the specified unit .
&'a self
uhash
&'a C::Hash
&'a self
uhash
&'a C::Hash