pub trait GGLWEKeyswitch<BE: Backend>where
Self: GLWEKeyswitch<BE>,{
// Provided methods
fn gglwe_keyswitch_tmp_bytes<R, A, K>(
&self,
res_infos: &R,
a_infos: &A,
key_infos: &K,
) -> usize
where R: GGLWEInfos,
A: GGLWEInfos,
K: GGLWEInfos { ... }
fn gglwe_keyswitch<R, A, B>(
&self,
res: &mut R,
a: &A,
b: &B,
scratch: &mut Scratch<BE>,
)
where R: GGLWEToMut,
A: GGLWEToRef,
B: GGLWEPreparedToRef<BE> + GGLWEInfos,
Scratch<BE>: ScratchTakeCore<BE> { ... }
fn gglwe_keyswitch_inplace<R, A>(
&self,
res: &mut R,
a: &A,
scratch: &mut Scratch<BE>,
)
where R: GGLWEToMut,
A: GGLWEPreparedToRef<BE> + GGLWEInfos,
Scratch<BE>: ScratchTakeCore<BE> { ... }
}Provided Methods§
fn gglwe_keyswitch_tmp_bytes<R, A, K>( &self, res_infos: &R, a_infos: &A, key_infos: &K, ) -> usize
fn gglwe_keyswitch<R, A, B>(
&self,
res: &mut R,
a: &A,
b: &B,
scratch: &mut Scratch<BE>,
)where
R: GGLWEToMut,
A: GGLWEToRef,
B: GGLWEPreparedToRef<BE> + GGLWEInfos,
Scratch<BE>: ScratchTakeCore<BE>,
fn gglwe_keyswitch_inplace<R, A>( &self, res: &mut R, a: &A, scratch: &mut Scratch<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.