fn find_block(&self, item_num: usize) -> Option<(usize, usize)> {
        if item_num >= self.inner.range_begin && item_num < self.inner.range_end {
            return None;
        }
        // To determine what block record N is in.
        Some(
            self.blocks
                // Inclusive range.
                .range(..=item_num)
                .next_back()
                .map_or((0, 0), |(&range_begin, &block_num)| {
                    (range_begin, block_num)
                }),
        )
    }
// Finds blocks where record is located. None is returned if block is already loaded.
Finds blocks where record is located. None is returned if block is already loaded.
Finds blocks where record is located . None is returned if block is already loaded .
fn find_block(&self, item_num: usize) -> Option<(usize, usize)> {
        if item_num >= self.inner.range_begin && item_num < self.inner.range_end {
            return None;
        }
        // To determine what block record N is in.
        Some(
            self.blocks
                // Inclusive range.
                .range(..=item_num)
                .next_back()
                .map_or((0, 0), |(&range_begin, &block_num)| {
                    (range_begin, block_num)
                }),
        )
    }
fn find_block ( & self , item_num : usize ) -> Option < ( usize , usize ) > { if item_num >= self . inner . range_begin && item_num < self . inner . range_end { return None ; } // To determine what block record N is in. Some ( self . blocks // Inclusive range. . range ( .. = item_num ) . next_back ( ) . map_or ( ( 0 , 0 ) , | ( & range_begin , & block_num ) | { ( range_begin , block_num ) } ) , ) }
Finds blocks where record is located.
Finds blocks where record is located .
&self
item_num
usize
&self
item_num
usize