Skip to main content

pack_with

Function pack_with 

Source
pub fn pack_with<T: Packable>(
    input: &[T],
    width: usize,
    output: &mut [T],
    scratch: &mut Scratch<T>,
) -> Result<()>
Expand description

As pack, through a buffer the caller keeps rather than one allocated per call.

ยงErrors

As pack_transposed.