Struct tfhe::FheBoolParameters
source · pub struct FheBoolParameters {
pub lwe_dimension: LweDimension,
pub glwe_dimension: GlweDimension,
pub polynomial_size: PolynomialSize,
pub lwe_modular_std_dev: StandardDev,
pub glwe_modular_std_dev: StandardDev,
pub pbs_base_log: DecompositionBaseLog,
pub pbs_level: DecompositionLevelCount,
pub ks_base_log: DecompositionBaseLog,
pub ks_level: DecompositionLevelCount,
pub encryption_key_choice: EncryptionKeyChoice,
}Available on crate feature
boolean and (crate features boolean or shortint or integer) only.Expand description
Parameters for FheBool.
Fields§
§lwe_dimension: LweDimension§glwe_dimension: GlweDimension§polynomial_size: PolynomialSize§lwe_modular_std_dev: StandardDev§glwe_modular_std_dev: StandardDev§pbs_base_log: DecompositionBaseLog§pbs_level: DecompositionLevelCount§ks_base_log: DecompositionBaseLog§ks_level: DecompositionLevelCount§encryption_key_choice: EncryptionKeyChoiceImplementations§
Trait Implementations§
source§impl Clone for FheBoolParameters
impl Clone for FheBoolParameters
source§fn clone(&self) -> FheBoolParameters
fn clone(&self) -> FheBoolParameters
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for FheBoolParameters
impl Debug for FheBoolParameters
source§impl Default for FheBoolParameters
impl Default for FheBoolParameters
source§impl<'de> Deserialize<'de> for FheBoolParameters
impl<'de> Deserialize<'de> for FheBoolParameters
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<BooleanParameters> for FheBoolParameters
impl From<BooleanParameters> for FheBoolParameters
source§fn from(params: BooleanParameters) -> FheBoolParameters
fn from(params: BooleanParameters) -> FheBoolParameters
Converts to this type from the input type.
source§impl From<FheBoolParameters> for BooleanParameters
impl From<FheBoolParameters> for BooleanParameters
source§fn from(params: FheBoolParameters) -> Self
fn from(params: FheBoolParameters) -> Self
Converts to this type from the input type.
source§impl PartialEq for FheBoolParameters
impl PartialEq for FheBoolParameters
source§fn eq(&self, other: &FheBoolParameters) -> bool
fn eq(&self, other: &FheBoolParameters) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for FheBoolParameters
impl Serialize for FheBoolParameters
impl Copy for FheBoolParameters
impl StructuralPartialEq for FheBoolParameters
Auto Trait Implementations§
impl RefUnwindSafe for FheBoolParameters
impl Send for FheBoolParameters
impl Sync for FheBoolParameters
impl Unpin for FheBoolParameters
impl UnwindSafe for FheBoolParameters
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more