Struct concrete::parameters::CarryModulus
source · pub struct CarryModulus(pub usize);
Available on crate feature
shortints
only.Expand description
The number of bits on which the carry will be encoded.
Tuple Fields
0: usize
Trait Implementations
sourceimpl Clone for CarryModulus
impl Clone for CarryModulus
sourcefn clone(&self) -> CarryModulus
fn clone(&self) -> CarryModulus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CarryModulus
impl Debug for CarryModulus
sourceimpl<'de> Deserialize<'de> for CarryModulus
impl<'de> Deserialize<'de> for CarryModulus
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<CarryModulus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<CarryModulus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<CarryModulus> for CarryModulus
impl PartialEq<CarryModulus> for CarryModulus
sourcefn eq(&self, other: &CarryModulus) -> bool
fn eq(&self, other: &CarryModulus) -> bool
sourceimpl Serialize for CarryModulus
impl Serialize for CarryModulus
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for CarryModulus
impl Eq for CarryModulus
impl StructuralEq for CarryModulus
impl StructuralPartialEq for CarryModulus
Auto Trait Implementations
impl RefUnwindSafe for CarryModulus
impl Send for CarryModulus
impl Sync for CarryModulus
impl Unpin for CarryModulus
impl UnwindSafe for CarryModulus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more