Skip to main content

HomomorphicAdd

Trait HomomorphicAdd 

Source
pub trait HomomorphicAdd<T, U> {
    // Required methods
    fn add(&self, left: &U, right: T) -> U;
    fn add_inplace(&self, left: &mut U, right: T);
}

Required Methods§

Source

fn add(&self, left: &U, right: T) -> U

Source

fn add_inplace(&self, left: &mut U, right: T)

Implementors§