Skip to main content

scalars_with

Function scalars_with 

Source
fn scalars_with(
    count: usize,
    compute: impl FnOnce(&mut [Fixed]) -> usize,
) -> Box<[Fixed]>
Expand description

Returns up to MAX_PRECOMPUTED_SCALARS scalars from count, filled by compute, which returns how many it wrote.