Skip to main content

with_scratch

Function with_scratch 

Source
pub(crate) fn with_scratch<T>(
    source: Vec<T>,
    scratch: Vec<T>,
    disposition: ScratchDisposition,
    use_entries: impl FnOnce(&mut Vec<T>),
) -> (Vec<T>, Vec<T>)
where T: Copy,