pub trait IntegerCiphertext: Clone {
// Required methods
fn from_blocks(blocks: Vec<Ciphertext>) -> Self;
fn blocks(&self) -> &[Ciphertext];
fn blocks_mut(&mut self) -> &mut [Ciphertext];
// Provided method
fn moduli(&self) -> Vec<u64> { ... }
}Required Methods§
fn from_blocks(blocks: Vec<Ciphertext>) -> Self
fn blocks(&self) -> &[Ciphertext]
fn blocks_mut(&mut self) -> &mut [Ciphertext]
Provided Methods§
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.