Skip to main content

GLWEAdd

Trait GLWEAdd 

Source
pub trait GLWEAdd<BE: Backend> {
    // Required methods
    fn glwe_add_into<R, A, B>(&self, res: &mut R, a: &A, b: &B)
       where R: GLWEToBackendMut<BE>,
             A: GLWEToBackendRef<BE>,
             B: GLWEToBackendRef<BE>;
    fn glwe_add_assign<R, A>(&self, res: &mut R, a: &A)
       where R: GLWEToBackendMut<BE>,
             A: GLWEToBackendRef<BE>;
}

Required Methods§

Source

fn glwe_add_into<R, A, B>(&self, res: &mut R, a: &A, b: &B)
where R: GLWEToBackendMut<BE>, A: GLWEToBackendRef<BE>, B: GLWEToBackendRef<BE>,

Source

fn glwe_add_assign<R, A>(&self, res: &mut R, a: &A)
where R: GLWEToBackendMut<BE>, A: GLWEToBackendRef<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> GLWEAdd<BE> for Module<BE>
where BE: Backend + GLWEAddImpl<BE>, Module<BE>: GLWEAddDefault<BE>,

Source§

fn glwe_add_into<R, A, B>(&self, res: &mut R, a: &A, b: &B)
where R: GLWEToBackendMut<BE>, A: GLWEToBackendRef<BE>, B: GLWEToBackendRef<BE>,

Source§

fn glwe_add_assign<R, A>(&self, res: &mut R, a: &A)
where R: GLWEToBackendMut<BE>, A: GLWEToBackendRef<BE>,

Implementors§