pub trait ScratchTakeBasicwhere
Self: TakeSlice,{
// Provided methods
fn take_scalar_znx(
&mut self,
n: usize,
cols: usize,
) -> (ScalarZnx<&mut [u8]>, &mut Self) { ... }
fn take_svp_ppol<M, B: Backend>(
&mut self,
module: &M,
cols: usize,
) -> (SvpPPol<&mut [u8], B>, &mut Self)
where M: SvpPPolBytesOf + ModuleN { ... }
fn take_vec_znx(
&mut self,
n: usize,
cols: usize,
size: usize,
) -> (VecZnx<&mut [u8]>, &mut Self) { ... }
fn take_vec_znx_big<M, B: Backend>(
&mut self,
module: &M,
cols: usize,
size: usize,
) -> (VecZnxBig<&mut [u8], B>, &mut Self)
where M: VecZnxBigBytesOf + ModuleN { ... }
fn take_vec_znx_dft<M, B: Backend>(
&mut self,
module: &M,
cols: usize,
size: usize,
) -> (VecZnxDft<&mut [u8], B>, &mut Self)
where M: VecZnxDftBytesOf + ModuleN { ... }
fn take_vec_znx_dft_slice<M, B: Backend>(
&mut self,
module: &M,
len: usize,
cols: usize,
size: usize,
) -> (Vec<VecZnxDft<&mut [u8], B>>, &mut Self)
where M: VecZnxDftBytesOf + ModuleN { ... }
fn take_vec_znx_slice(
&mut self,
len: usize,
n: usize,
cols: usize,
size: usize,
) -> (Vec<VecZnx<&mut [u8]>>, &mut Self) { ... }
fn take_vmp_pmat<M, B: Backend>(
&mut self,
module: &M,
rows: usize,
cols_in: usize,
cols_out: usize,
size: usize,
) -> (VmpPMat<&mut [u8], B>, &mut Self)
where M: VmpPMatBytesOf + ModuleN { ... }
fn take_mat_znx(
&mut self,
n: usize,
rows: usize,
cols_in: usize,
cols_out: usize,
size: usize,
) -> (MatZnx<&mut [u8]>, &mut Self) { ... }
}Provided Methods§
fn take_scalar_znx( &mut self, n: usize, cols: usize, ) -> (ScalarZnx<&mut [u8]>, &mut Self)
fn take_svp_ppol<M, B: Backend>(
&mut self,
module: &M,
cols: usize,
) -> (SvpPPol<&mut [u8], B>, &mut Self)where
M: SvpPPolBytesOf + ModuleN,
fn take_vec_znx( &mut self, n: usize, cols: usize, size: usize, ) -> (VecZnx<&mut [u8]>, &mut Self)
fn take_vec_znx_big<M, B: Backend>(
&mut self,
module: &M,
cols: usize,
size: usize,
) -> (VecZnxBig<&mut [u8], B>, &mut Self)where
M: VecZnxBigBytesOf + ModuleN,
fn take_vec_znx_dft<M, B: Backend>(
&mut self,
module: &M,
cols: usize,
size: usize,
) -> (VecZnxDft<&mut [u8], B>, &mut Self)where
M: VecZnxDftBytesOf + ModuleN,
fn take_vec_znx_dft_slice<M, B: Backend>(
&mut self,
module: &M,
len: usize,
cols: usize,
size: usize,
) -> (Vec<VecZnxDft<&mut [u8], B>>, &mut Self)where
M: VecZnxDftBytesOf + ModuleN,
fn take_vec_znx_slice( &mut self, len: usize, n: usize, cols: usize, size: usize, ) -> (Vec<VecZnx<&mut [u8]>>, &mut Self)
fn take_vmp_pmat<M, B: Backend>(
&mut self,
module: &M,
rows: usize,
cols_in: usize,
cols_out: usize,
size: usize,
) -> (VmpPMat<&mut [u8], B>, &mut Self)where
M: VmpPMatBytesOf + ModuleN,
fn take_mat_znx( &mut self, n: usize, rows: usize, cols_in: usize, cols_out: usize, size: usize, ) -> (MatZnx<&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.