Struct concrete_core::crypto::encoding::RealEncoder[][src]

pub struct RealEncoder<T: FloatingPoint> {
    pub offset: T,
    pub delta: T,
}
Expand description

An encoder for real cleartexts

Fields

offset: T

The offset of the encoding

delta: T

The delta of the encoding

Trait Implementations

The type of the cleartexts.

Encodes a single cleartext. Read more

Decodes a single encoded value. Read more

Encodes a list of cleartexts to a list of plaintexts. Read more

Decodes a list of plaintexts into a list of cleartexts. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.