TakeScalarZnx

Trait TakeScalarZnx 

Source
pub trait TakeScalarZnx {
    // Required method
    fn take_scalar_znx(
        &mut self,
        n: usize,
        cols: usize,
    ) -> (ScalarZnx<&mut [u8]>, &mut Self);
}
Expand description

Take a slice of bytes from a Scratch, wraps it into a ScalarZnx and returns it as well as a new Scratch minus the taken array of bytes.

Required Methods§

Source

fn take_scalar_znx( &mut self, n: usize, cols: usize, ) -> (ScalarZnx<&mut [u8]>, &mut Self)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§