Struct concrete::DynInteger
source · [−]pub struct DynInteger { /* private fields */ }
integers
only.Expand description
An instance of a dynamically defined integer type
To create a new value, you need to use its corresponding DynIntegerEncryptor
Trait Implementations
sourceimpl Add<&DynInteger> for u16
impl Add<&DynInteger> for u16
type Output = DynInteger
type Output = DynInteger
The resulting type after applying the +
operator.
sourcefn add(self, rhs: &DynInteger) -> Self::Output
fn add(self, rhs: &DynInteger) -> Self::Output
Performs the +
operation. Read more
sourceimpl Add<&DynInteger> for u32
impl Add<&DynInteger> for u32
type Output = DynInteger
type Output = DynInteger
The resulting type after applying the +
operator.
sourcefn add(self, rhs: &DynInteger) -> Self::Output
fn add(self, rhs: &DynInteger) -> Self::Output
Performs the +
operation. Read more
sourceimpl Add<&DynInteger> for u64
impl Add<&DynInteger> for u64
type Output = DynInteger
type Output = DynInteger
The resulting type after applying the +
operator.
sourcefn add(self, rhs: &DynInteger) -> Self::Output
fn add(self, rhs: &DynInteger) -> Self::Output
Performs the +
operation. Read more
sourceimpl Add<&DynInteger> for u8
impl Add<&DynInteger> for u8
type Output = DynInteger
type Output = DynInteger
The resulting type after applying the +
operator.
sourcefn add(self, rhs: &DynInteger) -> Self::Output
fn add(self, rhs: &DynInteger) -> Self::Output
Performs the +
operation. Read more
sourceimpl<B> Add<B> for &DynInteger where
B: Borrow<DynInteger>,
impl<B> Add<B> for &DynInteger where
B: Borrow<DynInteger>,
sourceimpl<B> Add<B> for DynInteger where
B: Borrow<DynInteger>,
impl<B> Add<B> for DynInteger where
B: Borrow<DynInteger>,
sourceimpl Add<DynInteger> for u16
impl Add<DynInteger> for u16
type Output = DynInteger
type Output = DynInteger
The resulting type after applying the +
operator.
sourcefn add(self, rhs: DynInteger) -> Self::Output
fn add(self, rhs: DynInteger) -> Self::Output
Performs the +
operation. Read more
sourceimpl Add<DynInteger> for u32
impl Add<DynInteger> for u32
type Output = DynInteger
type Output = DynInteger
The resulting type after applying the +
operator.
sourcefn add(self, rhs: DynInteger) -> Self::Output
fn add(self, rhs: DynInteger) -> Self::Output
Performs the +
operation. Read more
sourceimpl Add<DynInteger> for u64
impl Add<DynInteger> for u64
type Output = DynInteger
type Output = DynInteger
The resulting type after applying the +
operator.
sourcefn add(self, rhs: DynInteger) -> Self::Output
fn add(self, rhs: DynInteger) -> Self::Output
Performs the +
operation. Read more
sourceimpl Add<DynInteger> for u8
impl Add<DynInteger> for u8
type Output = DynInteger
type Output = DynInteger
The resulting type after applying the +
operator.
sourcefn add(self, rhs: DynInteger) -> Self::Output
fn add(self, rhs: DynInteger) -> Self::Output
Performs the +
operation. Read more
sourceimpl Add<u16> for &DynInteger
impl Add<u16> for &DynInteger
sourceimpl Add<u16> for DynInteger
impl Add<u16> for DynInteger
sourceimpl Add<u32> for &DynInteger
impl Add<u32> for &DynInteger
sourceimpl Add<u32> for DynInteger
impl Add<u32> for DynInteger
sourceimpl Add<u64> for &DynInteger
impl Add<u64> for &DynInteger
sourceimpl Add<u64> for DynInteger
impl Add<u64> for DynInteger
sourceimpl Add<u8> for &DynInteger
impl Add<u8> for &DynInteger
sourceimpl Add<u8> for DynInteger
impl Add<u8> for DynInteger
sourceimpl<B> AddAssign<B> for DynInteger where
B: Borrow<DynInteger>,
impl<B> AddAssign<B> for DynInteger where
B: Borrow<DynInteger>,
sourcefn add_assign(&mut self, rhs: B)
fn add_assign(&mut self, rhs: B)
Performs the +=
operation. Read more
sourceimpl AddAssign<u16> for DynInteger
impl AddAssign<u16> for DynInteger
sourcefn add_assign(&mut self, rhs: u16)
fn add_assign(&mut self, rhs: u16)
Performs the +=
operation. Read more
sourceimpl AddAssign<u32> for DynInteger
impl AddAssign<u32> for DynInteger
sourcefn add_assign(&mut self, rhs: u32)
fn add_assign(&mut self, rhs: u32)
Performs the +=
operation. Read more
sourceimpl AddAssign<u64> for DynInteger
impl AddAssign<u64> for DynInteger
sourcefn add_assign(&mut self, rhs: u64)
fn add_assign(&mut self, rhs: u64)
Performs the +=
operation. Read more
sourceimpl AddAssign<u8> for DynInteger
impl AddAssign<u8> for DynInteger
sourcefn add_assign(&mut self, rhs: u8)
fn add_assign(&mut self, rhs: u8)
Performs the +=
operation. Read more
sourceimpl<B> BitAnd<B> for &DynInteger where
B: Borrow<DynInteger>,
impl<B> BitAnd<B> for &DynInteger where
B: Borrow<DynInteger>,
sourceimpl<B> BitAnd<B> for DynInteger where
B: Borrow<DynInteger>,
impl<B> BitAnd<B> for DynInteger where
B: Borrow<DynInteger>,
sourceimpl<B> BitAndAssign<B> for DynInteger where
B: Borrow<DynInteger>,
impl<B> BitAndAssign<B> for DynInteger where
B: Borrow<DynInteger>,
sourcefn bitand_assign(&mut self, rhs: B)
fn bitand_assign(&mut self, rhs: B)
Performs the &=
operation. Read more
sourceimpl<B> BitOr<B> for &DynInteger where
B: Borrow<DynInteger>,
impl<B> BitOr<B> for &DynInteger where
B: Borrow<DynInteger>,
sourceimpl<B> BitOr<B> for DynInteger where
B: Borrow<DynInteger>,
impl<B> BitOr<B> for DynInteger where
B: Borrow<DynInteger>,
sourceimpl<B> BitOrAssign<B> for DynInteger where
B: Borrow<DynInteger>,
impl<B> BitOrAssign<B> for DynInteger where
B: Borrow<DynInteger>,
sourcefn bitor_assign(&mut self, rhs: B)
fn bitor_assign(&mut self, rhs: B)
Performs the |=
operation. Read more
sourceimpl<B> BitXor<B> for &DynInteger where
B: Borrow<DynInteger>,
impl<B> BitXor<B> for &DynInteger where
B: Borrow<DynInteger>,
sourceimpl<B> BitXor<B> for DynInteger where
B: Borrow<DynInteger>,
impl<B> BitXor<B> for DynInteger where
B: Borrow<DynInteger>,
sourceimpl<B> BitXorAssign<B> for DynInteger where
B: Borrow<DynInteger>,
impl<B> BitXorAssign<B> for DynInteger where
B: Borrow<DynInteger>,
sourcefn bitxor_assign(&mut self, rhs: B)
fn bitxor_assign(&mut self, rhs: B)
Performs the ^=
operation. Read more
sourceimpl Clone for DynInteger
impl Clone for DynInteger
sourcefn clone(&self) -> DynInteger
fn clone(&self) -> DynInteger
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 more
sourceimpl<'de> Deserialize<'de> for DynInteger
impl<'de> Deserialize<'de> for DynInteger
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 FheDecrypt<u64> for DynInteger
impl FheDecrypt<u64> for DynInteger
sourceimpl Mul<&DynInteger> for u16
impl Mul<&DynInteger> for u16
type Output = DynInteger
type Output = DynInteger
The resulting type after applying the *
operator.
sourcefn mul(self, rhs: &DynInteger) -> Self::Output
fn mul(self, rhs: &DynInteger) -> Self::Output
Performs the *
operation. Read more
sourceimpl Mul<&DynInteger> for u32
impl Mul<&DynInteger> for u32
type Output = DynInteger
type Output = DynInteger
The resulting type after applying the *
operator.
sourcefn mul(self, rhs: &DynInteger) -> Self::Output
fn mul(self, rhs: &DynInteger) -> Self::Output
Performs the *
operation. Read more
sourceimpl Mul<&DynInteger> for u64
impl Mul<&DynInteger> for u64
type Output = DynInteger
type Output = DynInteger
The resulting type after applying the *
operator.
sourcefn mul(self, rhs: &DynInteger) -> Self::Output
fn mul(self, rhs: &DynInteger) -> Self::Output
Performs the *
operation. Read more
sourceimpl Mul<&DynInteger> for u8
impl Mul<&DynInteger> for u8
type Output = DynInteger
type Output = DynInteger
The resulting type after applying the *
operator.
sourcefn mul(self, rhs: &DynInteger) -> Self::Output
fn mul(self, rhs: &DynInteger) -> Self::Output
Performs the *
operation. Read more
sourceimpl<B> Mul<B> for &DynInteger where
B: Borrow<DynInteger>,
impl<B> Mul<B> for &DynInteger where
B: Borrow<DynInteger>,
sourceimpl<B> Mul<B> for DynInteger where
B: Borrow<DynInteger>,
impl<B> Mul<B> for DynInteger where
B: Borrow<DynInteger>,
sourceimpl Mul<DynInteger> for u16
impl Mul<DynInteger> for u16
type Output = DynInteger
type Output = DynInteger
The resulting type after applying the *
operator.
sourcefn mul(self, rhs: DynInteger) -> Self::Output
fn mul(self, rhs: DynInteger) -> Self::Output
Performs the *
operation. Read more
sourceimpl Mul<DynInteger> for u32
impl Mul<DynInteger> for u32
type Output = DynInteger
type Output = DynInteger
The resulting type after applying the *
operator.
sourcefn mul(self, rhs: DynInteger) -> Self::Output
fn mul(self, rhs: DynInteger) -> Self::Output
Performs the *
operation. Read more
sourceimpl Mul<DynInteger> for u64
impl Mul<DynInteger> for u64
type Output = DynInteger
type Output = DynInteger
The resulting type after applying the *
operator.
sourcefn mul(self, rhs: DynInteger) -> Self::Output
fn mul(self, rhs: DynInteger) -> Self::Output
Performs the *
operation. Read more
sourceimpl Mul<DynInteger> for u8
impl Mul<DynInteger> for u8
type Output = DynInteger
type Output = DynInteger
The resulting type after applying the *
operator.
sourcefn mul(self, rhs: DynInteger) -> Self::Output
fn mul(self, rhs: DynInteger) -> Self::Output
Performs the *
operation. Read more
sourceimpl Mul<u16> for &DynInteger
impl Mul<u16> for &DynInteger
sourceimpl Mul<u16> for DynInteger
impl Mul<u16> for DynInteger
sourceimpl Mul<u32> for &DynInteger
impl Mul<u32> for &DynInteger
sourceimpl Mul<u32> for DynInteger
impl Mul<u32> for DynInteger
sourceimpl Mul<u64> for &DynInteger
impl Mul<u64> for &DynInteger
sourceimpl Mul<u64> for DynInteger
impl Mul<u64> for DynInteger
sourceimpl Mul<u8> for &DynInteger
impl Mul<u8> for &DynInteger
sourceimpl Mul<u8> for DynInteger
impl Mul<u8> for DynInteger
sourceimpl<B> MulAssign<B> for DynInteger where
B: Borrow<DynInteger>,
impl<B> MulAssign<B> for DynInteger where
B: Borrow<DynInteger>,
sourcefn mul_assign(&mut self, rhs: B)
fn mul_assign(&mut self, rhs: B)
Performs the *=
operation. Read more
sourceimpl MulAssign<u16> for DynInteger
impl MulAssign<u16> for DynInteger
sourcefn mul_assign(&mut self, rhs: u16)
fn mul_assign(&mut self, rhs: u16)
Performs the *=
operation. Read more
sourceimpl MulAssign<u32> for DynInteger
impl MulAssign<u32> for DynInteger
sourcefn mul_assign(&mut self, rhs: u32)
fn mul_assign(&mut self, rhs: u32)
Performs the *=
operation. Read more
sourceimpl MulAssign<u64> for DynInteger
impl MulAssign<u64> for DynInteger
sourcefn mul_assign(&mut self, rhs: u64)
fn mul_assign(&mut self, rhs: u64)
Performs the *=
operation. Read more
sourceimpl MulAssign<u8> for DynInteger
impl MulAssign<u8> for DynInteger
sourcefn mul_assign(&mut self, rhs: u8)
fn mul_assign(&mut self, rhs: u8)
Performs the *=
operation. Read more
sourceimpl Neg for &DynInteger
impl Neg for &DynInteger
sourceimpl Neg for DynInteger
impl Neg for DynInteger
sourceimpl Serialize for DynInteger
impl Serialize for DynInteger
sourceimpl Sub<&DynInteger> for u16
impl Sub<&DynInteger> for u16
type Output = DynInteger
type Output = DynInteger
The resulting type after applying the -
operator.
sourcefn sub(self, rhs: &DynInteger) -> Self::Output
fn sub(self, rhs: &DynInteger) -> Self::Output
Performs the -
operation. Read more
sourceimpl Sub<&DynInteger> for u32
impl Sub<&DynInteger> for u32
type Output = DynInteger
type Output = DynInteger
The resulting type after applying the -
operator.
sourcefn sub(self, rhs: &DynInteger) -> Self::Output
fn sub(self, rhs: &DynInteger) -> Self::Output
Performs the -
operation. Read more
sourceimpl Sub<&DynInteger> for u64
impl Sub<&DynInteger> for u64
type Output = DynInteger
type Output = DynInteger
The resulting type after applying the -
operator.
sourcefn sub(self, rhs: &DynInteger) -> Self::Output
fn sub(self, rhs: &DynInteger) -> Self::Output
Performs the -
operation. Read more
sourceimpl Sub<&DynInteger> for u8
impl Sub<&DynInteger> for u8
type Output = DynInteger
type Output = DynInteger
The resulting type after applying the -
operator.
sourcefn sub(self, rhs: &DynInteger) -> Self::Output
fn sub(self, rhs: &DynInteger) -> Self::Output
Performs the -
operation. Read more
sourceimpl<B> Sub<B> for &DynInteger where
B: Borrow<DynInteger>,
impl<B> Sub<B> for &DynInteger where
B: Borrow<DynInteger>,
sourceimpl<B> Sub<B> for DynInteger where
B: Borrow<DynInteger>,
impl<B> Sub<B> for DynInteger where
B: Borrow<DynInteger>,
sourceimpl Sub<DynInteger> for u16
impl Sub<DynInteger> for u16
type Output = DynInteger
type Output = DynInteger
The resulting type after applying the -
operator.
sourcefn sub(self, rhs: DynInteger) -> Self::Output
fn sub(self, rhs: DynInteger) -> Self::Output
Performs the -
operation. Read more
sourceimpl Sub<DynInteger> for u32
impl Sub<DynInteger> for u32
type Output = DynInteger
type Output = DynInteger
The resulting type after applying the -
operator.
sourcefn sub(self, rhs: DynInteger) -> Self::Output
fn sub(self, rhs: DynInteger) -> Self::Output
Performs the -
operation. Read more
sourceimpl Sub<DynInteger> for u64
impl Sub<DynInteger> for u64
type Output = DynInteger
type Output = DynInteger
The resulting type after applying the -
operator.
sourcefn sub(self, rhs: DynInteger) -> Self::Output
fn sub(self, rhs: DynInteger) -> Self::Output
Performs the -
operation. Read more
sourceimpl Sub<DynInteger> for u8
impl Sub<DynInteger> for u8
type Output = DynInteger
type Output = DynInteger
The resulting type after applying the -
operator.
sourcefn sub(self, rhs: DynInteger) -> Self::Output
fn sub(self, rhs: DynInteger) -> Self::Output
Performs the -
operation. Read more
sourceimpl Sub<u16> for &DynInteger
impl Sub<u16> for &DynInteger
sourceimpl Sub<u16> for DynInteger
impl Sub<u16> for DynInteger
sourceimpl Sub<u32> for &DynInteger
impl Sub<u32> for &DynInteger
sourceimpl Sub<u32> for DynInteger
impl Sub<u32> for DynInteger
sourceimpl Sub<u64> for &DynInteger
impl Sub<u64> for &DynInteger
sourceimpl Sub<u64> for DynInteger
impl Sub<u64> for DynInteger
sourceimpl Sub<u8> for &DynInteger
impl Sub<u8> for &DynInteger
sourceimpl Sub<u8> for DynInteger
impl Sub<u8> for DynInteger
sourceimpl<B> SubAssign<B> for DynInteger where
B: Borrow<DynInteger>,
impl<B> SubAssign<B> for DynInteger where
B: Borrow<DynInteger>,
sourcefn sub_assign(&mut self, rhs: B)
fn sub_assign(&mut self, rhs: B)
Performs the -=
operation. Read more
sourceimpl SubAssign<u16> for DynInteger
impl SubAssign<u16> for DynInteger
sourcefn sub_assign(&mut self, rhs: u16)
fn sub_assign(&mut self, rhs: u16)
Performs the -=
operation. Read more
sourceimpl SubAssign<u32> for DynInteger
impl SubAssign<u32> for DynInteger
sourcefn sub_assign(&mut self, rhs: u32)
fn sub_assign(&mut self, rhs: u32)
Performs the -=
operation. Read more
sourceimpl SubAssign<u64> for DynInteger
impl SubAssign<u64> for DynInteger
sourcefn sub_assign(&mut self, rhs: u64)
fn sub_assign(&mut self, rhs: u64)
Performs the -=
operation. Read more
sourceimpl SubAssign<u8> for DynInteger
impl SubAssign<u8> for DynInteger
sourcefn sub_assign(&mut self, rhs: u8)
fn sub_assign(&mut self, rhs: u8)
Performs the -=
operation. Read more
Auto Trait Implementations
impl !RefUnwindSafe for DynInteger
impl Send for DynInteger
impl !Sync for DynInteger
impl Unpin for DynInteger
impl UnwindSafe for DynInteger
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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