GLWEShift

Trait GLWEShift 

Source
pub trait GLWEShift<BE: Backend>
where Self: ModuleN + VecZnxRshInplace<BE>,
{ // Provided methods fn glwe_rsh_tmp_byte(&self) -> usize { ... } fn glwe_rsh<R>(&self, k: usize, res: &mut R, scratch: &mut Scratch<BE>) where R: GLWEToMut, Scratch<BE>: ScratchTakeCore<BE> { ... } }

Provided Methods§

Source

fn glwe_rsh_tmp_byte(&self) -> usize

Source

fn glwe_rsh<R>(&self, k: usize, res: &mut R, scratch: &mut Scratch<BE>)
where R: GLWEToMut, Scratch<BE>: ScratchTakeCore<BE>,

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.

Implementations on Foreign Types§

Source§

impl<BE: Backend> GLWEShift<BE> for Module<BE>
where Self: ModuleN + VecZnxRshInplace<BE>,

Implementors§