pub trait SectionWithLimitedItems: SectionReader {
    fn get_count(&self) -> u32;

    fn into_iter_with_offsets(self) -> IntoIterWithOffsets<Self>Notable traits for IntoIterWithOffsets<R>impl<R> Iterator for IntoIterWithOffsets<R>where
    R: SectionWithLimitedItems,
type Item = Result<(usize, R::Item)>;

   where
        Self: Sized
, { ... } }
Expand description

Implemented by sections with a limited number of items.

Required Methods

Gets the count of the items in the section.

Provided Methods

Returns an iterator over the items within this section where the offset in the original section is provided with the item.

Implementors