Skip to main content

packed_range

Function packed_range 

Source
pub fn packed_range<T: Into<(u64, u32)>>(
    lo: Bound<T>,
    hi: Bound<T>,
) -> Range<u64>
Expand description

Convert semantic event-coordinate bounds into the packed half-open range scanned by bitmap indexes. Accepts any coordinate type that projects to (tx_seq, event_idx), so callers can pass their own position type without this crate knowing about it.