Skip to main content

compute_offsets

Function compute_offsets 

Source
pub(crate) fn compute_offsets<S: Slab>(
    dst: &S,
    start_offset: usize,
    t_layout: Layout,
    min_alignment: usize,
) -> Result<CopyRecord, CopyError>
Expand description

Compute and validate offsets for a copy operation with the given parameters.