IntegerCiphertext

Trait IntegerCiphertext 

Source
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§

Source

fn from_blocks(blocks: Vec<Ciphertext>) -> Self

Source

fn blocks(&self) -> &[Ciphertext]

Source

fn blocks_mut(&mut self) -> &mut [Ciphertext]

Provided Methods§

Source

fn moduli(&self) -> Vec<u64>

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.

Implementors§