pub fn entries_count_before(&self, mut gate: FileId) -> usize {
        gate.seq += 1;
        let idx = self
            .entry_indexes
            .binary_search_by_key(&gate, |ei| ei.entries.unwrap().id);
        match idx {
            Ok(idx) => idx,
            Err(idx) => idx,
        }
    }
/// Returns the number of entries smaller than or equal to `gate`.
Returns the number of entries smaller than or equal to `gate`.
Returns the number of entries smaller than or equal to ` gate ` .
pub fn entries_count_before(&self, mut gate: FileId) -> usize {
        gate.seq += 1;
        let idx = self
            .entry_indexes
            .binary_search_by_key(&gate, |ei| ei.entries.unwrap().id);
        match idx {
            Ok(idx) => idx,
            Err(idx) => idx,
        }
    }
pub fn entries_count_before ( & self , mut gate : FileId ) -> usize { gate . seq += 1 ; let idx = self . entry_indexes . binary_search_by_key ( & gate , | ei | ei . entries . unwrap ( ) . id ) ; match idx { Ok ( idx ) => idx , Err ( idx ) => idx , } }
Returns the number of entries smaller than or equal to `gate`.
Returns the number of entries smaller than or equal to ` gate ` .
&self
gate
FileId