pub trait VecZnxLsh<B: Backend> {
// Required method
fn vec_znx_lsh<R, A>(
&self,
base2k: usize,
k: usize,
r: &mut R,
res_col: usize,
a: &A,
a_col: usize,
scratch: &mut Scratch<B>,
)
where R: VecZnxToMut,
A: VecZnxToRef;
}Required Methods§
Sourcefn vec_znx_lsh<R, A>(
&self,
base2k: usize,
k: usize,
r: &mut R,
res_col: usize,
a: &A,
a_col: usize,
scratch: &mut Scratch<B>,
)where
R: VecZnxToMut,
A: VecZnxToRef,
fn vec_znx_lsh<R, A>(
&self,
base2k: usize,
k: usize,
r: &mut R,
res_col: usize,
a: &A,
a_col: usize,
scratch: &mut Scratch<B>,
)where
R: VecZnxToMut,
A: VecZnxToRef,
Left shift by k bits all columns of a.
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.