pub struct GlweSize(pub usize);Expand description
The number of polynomials in a GLWE ciphertext, i.e. the number of polynomials in a GLWE mask plus one.
Tuple Fields§
§0: usizeImplementations§
Source§impl GlweSize
impl GlweSize
Sourcepub fn to_glwe_dimension(&self) -> GlweDimension
pub fn to_glwe_dimension(&self) -> GlweDimension
Returns the associated GlweDimension.
Trait Implementations§
Source§impl Ord for GlweSize
impl Ord for GlweSize
Source§impl PartialOrd for GlweSize
impl PartialOrd for GlweSize
impl Copy for GlweSize
impl Eq for GlweSize
impl StructuralPartialEq for GlweSize
Auto Trait Implementations§
impl Freeze for GlweSize
impl RefUnwindSafe for GlweSize
impl Send for GlweSize
impl Sync for GlweSize
impl Unpin for GlweSize
impl UnwindSafe for GlweSize
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