Function raftstore::store::worker::split_controller::prefix_sum [−][src]
fn prefix_sum<F, T>(iter: Iter<'_, T>, read: F) -> Vec<usize> where
F: Fn(&T) -> usize,
fn prefix_sum<F, T>(iter: Iter<'_, T>, read: F) -> Vec<usize> where
F: Fn(&T) -> usize,