Skip to main content

slot_of_offset

Function slot_of_offset 

Source
pub fn slot_of_offset(off: usize, index: usize) -> u32
Expand description

Divide a span offset by a class’s slot size via the reciprocal table. off must be below SPAN_BYTES.