/// call func with every pubkey and index visible from a given set of ancestors
call func with every pubkey and index visible from a given set of ancestors
call func with every pubkey and index visible from a given set of ancestors
pub(crate) fn scan_accounts<F>(&self, ancestors: &Ancestors, func: F)
    where
        F: FnMut(&Pubkey, (&T, Slot)),
    {
        self.do_scan_accounts(ancestors, func, self.account_maps.iter());
    }
pub ( crate ) fn scan_accounts < F > ( & self , ancestors : & Ancestors , func : F ) where F : FnMut ( & Pubkey , ( & T , Slot ) ) , { self . do_scan_accounts ( ancestors , func , self . account_maps . iter ( ) ) ; }
call func with every pubkey and index visible from a given set of ancestors
call func with every pubkey and index visible from a given set of ancestors
&self
ancestors
&Ancestors
func
F