Skip to main content

field_ledger_cover

Function field_ledger_cover 

Source
pub fn field_ledger_cover(field: u16, serials: &[(u32, u32)]) -> Vec<(u16, u16)>
Expand description

The positions of field field’s value covered by the ledger entries with the serials in serials (inclusive first..=last intervals): sorted disjoint start..end intervals, merged where they touch.