Enum concrete::DynIntegerParameters
source · pub enum DynIntegerParameters {
Radix(RadixParameters),
Crt(CrtParameters),
}
Available on crate feature
integers
only.Expand description
Parameters for integers
Integers works by composing multiple shortints.
Two decompositions are supported:
- Radix with RadixParameters
- Crt with CrtParameters
Variants
Radix(RadixParameters)
Crt(CrtParameters)
Trait Implementations
sourceimpl Clone for DynIntegerParameters
impl Clone for DynIntegerParameters
sourcefn clone(&self) -> DynIntegerParameters
fn clone(&self) -> DynIntegerParameters
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 DynIntegerParameters
impl Debug for DynIntegerParameters
sourceimpl<'de> Deserialize<'de> for DynIntegerParameters
impl<'de> Deserialize<'de> for DynIntegerParameters
sourcefn 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
sourceimpl From<CrtParameters> for DynIntegerParameters
impl From<CrtParameters> for DynIntegerParameters
sourcefn from(crt_params: CrtParameters) -> Self
fn from(crt_params: CrtParameters) -> Self
Converts to this type from the input type.
sourceimpl From<RadixParameters> for DynIntegerParameters
impl From<RadixParameters> for DynIntegerParameters
sourcefn from(radix_params: RadixParameters) -> Self
fn from(radix_params: RadixParameters) -> Self
Converts to this type from the input type.
sourceimpl Serialize for DynIntegerParameters
impl Serialize for DynIntegerParameters
Auto Trait Implementations
impl RefUnwindSafe for DynIntegerParameters
impl Send for DynIntegerParameters
impl Sync for DynIntegerParameters
impl Unpin for DynIntegerParameters
impl UnwindSafe for DynIntegerParameters
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