fn iterate_slices<F> (&self, mut p: F) -> Result<bool>
    where F: FnMut(SliceData, SliceData) -> Result<bool> {
        if let Some(root) = self.data() {
            iterate_internal::<Self, _>(
                LabelReader::with_cell(root),
                BuilderData::default(),
                self.bit_len(),
                &mut |k, v| p(k.into_cell()?.into(), v))
        } else {
            Ok(true)
        }
    }
/// iterate all elements with callback function
iterate all elements with callback function
iterate all elements with callback function
fn iterate_slices<F> (&self, mut p: F) -> Result<bool>
    where F: FnMut(SliceData, SliceData) -> Result<bool> {
        if let Some(root) = self.data() {
            iterate_internal::<Self, _>(
                LabelReader::with_cell(root),
                BuilderData::default(),
                self.bit_len(),
                &mut |k, v| p(k.into_cell()?.into(), v))
        } else {
            Ok(true)
        }
    }
fn iterate_slices < F > ( & self , mut p : F ) -> Result < bool > where F : FnMut ( SliceData , SliceData ) -> Result < bool > { if let Some ( root ) = self . data ( ) { iterate_internal :: < Self , _ > ( LabelReader :: with_cell ( root ) , BuilderData :: default ( ) , self . bit_len ( ) , & mut | k , v | p ( k . into_cell ( ) ? . into ( ) , v ) ) } else { Ok ( true ) } }
iterate all elements with callback function
iterate all elements with callback function
&self
p
F
&self
p
F