Struct concrete::GenericInteger
source · [−]pub struct GenericInteger<P: ShortIntegerParameter, const N: usize> { /* private fields */ }
integers
only.Expand description
A Generic FHE unsigned integer
The current representation for large integers is done by combining multiple short integers of the same size.
The type parameter P
is the type of shortint parameters.
N
is the number of block of such shortints.
For example with both:
- P: FheUint2Parameters
- N:
4
We will combine 4 shortint with 2 bits, to have a 4 * 2 = 8
bit integer.
Implementations
Trait Implementations
sourceimpl<P, B, const N: usize> Add<B> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
B: Borrow<GenericInteger<P, N>>,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, B, const N: usize> Add<B> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
B: Borrow<GenericInteger<P, N>>,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, B, const N: usize> Add<B> for GenericInteger<P, N> where
P: ShortIntegerParameter,
B: Borrow<Self>,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, B, const N: usize> Add<B> for GenericInteger<P, N> where
P: ShortIntegerParameter,
B: Borrow<Self>,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Add<u16> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Add<u16> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Add<u16> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Add<u16> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Add<u32> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Add<u32> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Add<u32> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Add<u32> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Add<u64> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Add<u64> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Add<u64> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Add<u64> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Add<u8> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Add<u8> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Add<u8> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Add<u8> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, I, const N: usize> AddAssign<I> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
I: Borrow<Self>,
impl<P, I, const N: usize> AddAssign<I> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
I: Borrow<Self>,
sourcefn add_assign(&mut self, rhs: I)
fn add_assign(&mut self, rhs: I)
Performs the +=
operation. Read more
sourceimpl<P, const N: usize> AddAssign<u16> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> AddAssign<u16> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourcefn add_assign(&mut self, rhs: u16)
fn add_assign(&mut self, rhs: u16)
Performs the +=
operation. Read more
sourceimpl<P, const N: usize> AddAssign<u32> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> AddAssign<u32> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourcefn add_assign(&mut self, rhs: u32)
fn add_assign(&mut self, rhs: u32)
Performs the +=
operation. Read more
sourceimpl<P, const N: usize> AddAssign<u64> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> AddAssign<u64> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourcefn add_assign(&mut self, rhs: u64)
fn add_assign(&mut self, rhs: u64)
Performs the +=
operation. Read more
sourceimpl<P, const N: usize> AddAssign<u8> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> AddAssign<u8> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourcefn add_assign(&mut self, rhs: u8)
fn add_assign(&mut self, rhs: u8)
Performs the +=
operation. Read more
sourceimpl<P, B, const N: usize> BitAnd<B> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
B: Borrow<GenericInteger<P, N>>,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, B, const N: usize> BitAnd<B> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
B: Borrow<GenericInteger<P, N>>,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, B, const N: usize> BitAnd<B> for GenericInteger<P, N> where
P: ShortIntegerParameter,
B: Borrow<Self>,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, B, const N: usize> BitAnd<B> for GenericInteger<P, N> where
P: ShortIntegerParameter,
B: Borrow<Self>,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, I, const N: usize> BitAndAssign<I> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
I: Borrow<Self>,
impl<P, I, const N: usize> BitAndAssign<I> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
I: Borrow<Self>,
sourcefn bitand_assign(&mut self, rhs: I)
fn bitand_assign(&mut self, rhs: I)
Performs the &=
operation. Read more
sourceimpl<P, B, const N: usize> BitOr<B> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
B: Borrow<GenericInteger<P, N>>,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, B, const N: usize> BitOr<B> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
B: Borrow<GenericInteger<P, N>>,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, B, const N: usize> BitOr<B> for GenericInteger<P, N> where
P: ShortIntegerParameter,
B: Borrow<Self>,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, B, const N: usize> BitOr<B> for GenericInteger<P, N> where
P: ShortIntegerParameter,
B: Borrow<Self>,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, I, const N: usize> BitOrAssign<I> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
I: Borrow<Self>,
impl<P, I, const N: usize> BitOrAssign<I> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
I: Borrow<Self>,
sourcefn bitor_assign(&mut self, rhs: I)
fn bitor_assign(&mut self, rhs: I)
Performs the |=
operation. Read more
sourceimpl<P, B, const N: usize> BitXor<B> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
B: Borrow<GenericInteger<P, N>>,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, B, const N: usize> BitXor<B> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
B: Borrow<GenericInteger<P, N>>,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, B, const N: usize> BitXor<B> for GenericInteger<P, N> where
P: ShortIntegerParameter,
B: Borrow<Self>,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, B, const N: usize> BitXor<B> for GenericInteger<P, N> where
P: ShortIntegerParameter,
B: Borrow<Self>,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, I, const N: usize> BitXorAssign<I> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
I: Borrow<Self>,
impl<P, I, const N: usize> BitXorAssign<I> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
I: Borrow<Self>,
sourcefn bitxor_assign(&mut self, rhs: I)
fn bitxor_assign(&mut self, rhs: I)
Performs the ^=
operation. Read more
sourceimpl<P: Clone + ShortIntegerParameter, const N: usize> Clone for GenericInteger<P, N>
impl<P: Clone + ShortIntegerParameter, const N: usize> Clone for GenericInteger<P, N>
sourcefn clone(&self) -> GenericInteger<P, N>
fn clone(&self) -> GenericInteger<P, N>
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, P: ShortIntegerParameter, const N: usize> Deserialize<'de> for GenericInteger<P, N>
impl<'de, P: ShortIntegerParameter, const N: usize> Deserialize<'de> for GenericInteger<P, N>
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<P, const N: usize> FheDecrypt<u64> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerClientKey<P, N>: RefKeyFromKeyChain,
impl<P, const N: usize> FheDecrypt<u64> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerClientKey<P, N>: RefKeyFromKeyChain,
sourceimpl<P, T, const N: usize> FheTryEncrypt<T> for GenericInteger<P, N> where
T: TryInto<u64>,
P: ShortIntegerParameter,
GenericIntegerClientKey<P, N>: RefKeyFromKeyChain,
impl<P, T, const N: usize> FheTryEncrypt<T> for GenericInteger<P, N> where
T: TryInto<u64>,
P: ShortIntegerParameter,
GenericIntegerClientKey<P, N>: RefKeyFromKeyChain,
type Error = OutOfRangeError
fn try_encrypt(value: T, key: &ClientKey) -> Result<Self, Self::Error>
sourceimpl<P, const N: usize> From<Ciphertext> for GenericInteger<P, N> where
P: ShortIntegerParameter,
impl<P, const N: usize> From<Ciphertext> for GenericInteger<P, N> where
P: ShortIntegerParameter,
sourcefn from(ciphertext: Ciphertext) -> Self
fn from(ciphertext: Ciphertext) -> Self
Converts to this type from the input type.
sourceimpl<P, B, const N: usize> Mul<B> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
B: Borrow<GenericInteger<P, N>>,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, B, const N: usize> Mul<B> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
B: Borrow<GenericInteger<P, N>>,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, B, const N: usize> Mul<B> for GenericInteger<P, N> where
P: ShortIntegerParameter,
B: Borrow<Self>,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, B, const N: usize> Mul<B> for GenericInteger<P, N> where
P: ShortIntegerParameter,
B: Borrow<Self>,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Mul<u16> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Mul<u16> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Mul<u16> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Mul<u16> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Mul<u32> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Mul<u32> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Mul<u32> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Mul<u32> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Mul<u64> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Mul<u64> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Mul<u64> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Mul<u64> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Mul<u8> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Mul<u8> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Mul<u8> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Mul<u8> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, I, const N: usize> MulAssign<I> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
I: Borrow<Self>,
impl<P, I, const N: usize> MulAssign<I> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
I: Borrow<Self>,
sourcefn mul_assign(&mut self, rhs: I)
fn mul_assign(&mut self, rhs: I)
Performs the *=
operation. Read more
sourceimpl<P, const N: usize> MulAssign<u16> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> MulAssign<u16> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourcefn mul_assign(&mut self, rhs: u16)
fn mul_assign(&mut self, rhs: u16)
Performs the *=
operation. Read more
sourceimpl<P, const N: usize> MulAssign<u32> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> MulAssign<u32> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourcefn mul_assign(&mut self, rhs: u32)
fn mul_assign(&mut self, rhs: u32)
Performs the *=
operation. Read more
sourceimpl<P, const N: usize> MulAssign<u64> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> MulAssign<u64> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourcefn mul_assign(&mut self, rhs: u64)
fn mul_assign(&mut self, rhs: u64)
Performs the *=
operation. Read more
sourceimpl<P, const N: usize> MulAssign<u8> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> MulAssign<u8> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourcefn mul_assign(&mut self, rhs: u8)
fn mul_assign(&mut self, rhs: u8)
Performs the *=
operation. Read more
sourceimpl<P, const N: usize> Neg for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Neg for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Neg for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Neg for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P: ShortIntegerParameter, const N: usize> Serialize for GenericInteger<P, N>
impl<P: ShortIntegerParameter, const N: usize> Serialize for GenericInteger<P, N>
sourceimpl<P, const N: usize> Shl<u16> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Shl<u16> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Shl<u16> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Shl<u16> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Shl<u32> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Shl<u32> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Shl<u32> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Shl<u32> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Shl<u64> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Shl<u64> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Shl<u64> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Shl<u64> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Shl<u8> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Shl<u8> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Shl<u8> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Shl<u8> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> ShlAssign<u16> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> ShlAssign<u16> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourcefn shl_assign(&mut self, rhs: u16)
fn shl_assign(&mut self, rhs: u16)
Performs the <<=
operation. Read more
sourceimpl<P, const N: usize> ShlAssign<u32> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> ShlAssign<u32> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourcefn shl_assign(&mut self, rhs: u32)
fn shl_assign(&mut self, rhs: u32)
Performs the <<=
operation. Read more
sourceimpl<P, const N: usize> ShlAssign<u64> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> ShlAssign<u64> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourcefn shl_assign(&mut self, rhs: u64)
fn shl_assign(&mut self, rhs: u64)
Performs the <<=
operation. Read more
sourceimpl<P, const N: usize> ShlAssign<u8> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> ShlAssign<u8> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourcefn shl_assign(&mut self, rhs: u8)
fn shl_assign(&mut self, rhs: u8)
Performs the <<=
operation. Read more
sourceimpl<P, const N: usize> Shr<u16> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Shr<u16> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Shr<u16> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Shr<u16> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Shr<u32> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Shr<u32> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Shr<u32> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Shr<u32> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Shr<u64> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Shr<u64> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Shr<u64> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Shr<u64> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Shr<u8> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Shr<u8> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Shr<u8> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Shr<u8> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> ShrAssign<u16> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> ShrAssign<u16> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourcefn shr_assign(&mut self, rhs: u16)
fn shr_assign(&mut self, rhs: u16)
Performs the >>=
operation. Read more
sourceimpl<P, const N: usize> ShrAssign<u32> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> ShrAssign<u32> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourcefn shr_assign(&mut self, rhs: u32)
fn shr_assign(&mut self, rhs: u32)
Performs the >>=
operation. Read more
sourceimpl<P, const N: usize> ShrAssign<u64> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> ShrAssign<u64> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourcefn shr_assign(&mut self, rhs: u64)
fn shr_assign(&mut self, rhs: u64)
Performs the >>=
operation. Read more
sourceimpl<P, const N: usize> ShrAssign<u8> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> ShrAssign<u8> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourcefn shr_assign(&mut self, rhs: u8)
fn shr_assign(&mut self, rhs: u8)
Performs the >>=
operation. Read more
sourceimpl<P, B, const N: usize> Sub<B> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
B: Borrow<GenericInteger<P, N>>,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, B, const N: usize> Sub<B> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
B: Borrow<GenericInteger<P, N>>,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, B, const N: usize> Sub<B> for GenericInteger<P, N> where
P: ShortIntegerParameter,
B: Borrow<Self>,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, B, const N: usize> Sub<B> for GenericInteger<P, N> where
P: ShortIntegerParameter,
B: Borrow<Self>,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Sub<u16> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Sub<u16> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Sub<u16> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Sub<u16> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Sub<u32> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Sub<u32> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Sub<u32> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Sub<u32> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Sub<u64> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Sub<u64> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Sub<u64> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Sub<u64> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Sub<u8> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Sub<u8> for &GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, const N: usize> Sub<u8> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> Sub<u8> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourceimpl<P, I, const N: usize> SubAssign<I> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
I: Borrow<Self>,
impl<P, I, const N: usize> SubAssign<I> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
I: Borrow<Self>,
sourcefn sub_assign(&mut self, rhs: I)
fn sub_assign(&mut self, rhs: I)
Performs the -=
operation. Read more
sourceimpl<P, const N: usize> SubAssign<u16> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> SubAssign<u16> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourcefn sub_assign(&mut self, rhs: u16)
fn sub_assign(&mut self, rhs: u16)
Performs the -=
operation. Read more
sourceimpl<P, const N: usize> SubAssign<u32> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> SubAssign<u32> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourcefn sub_assign(&mut self, rhs: u32)
fn sub_assign(&mut self, rhs: u32)
Performs the -=
operation. Read more
sourceimpl<P, const N: usize> SubAssign<u64> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> SubAssign<u64> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourcefn sub_assign(&mut self, rhs: u64)
fn sub_assign(&mut self, rhs: u64)
Performs the -=
operation. Read more
sourceimpl<P, const N: usize> SubAssign<u8> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
impl<P, const N: usize> SubAssign<u8> for GenericInteger<P, N> where
P: ShortIntegerParameter,
GenericIntegerServerKey<P, N>: WithGlobalKey,
sourcefn sub_assign(&mut self, rhs: u8)
fn sub_assign(&mut self, rhs: u8)
Performs the -=
operation. Read more
Auto Trait Implementations
impl<P, const N: usize> !RefUnwindSafe for GenericInteger<P, N>
impl<P, const N: usize> Send for GenericInteger<P, N> where
P: Send,
impl<P, const N: usize> !Sync for GenericInteger<P, N>
impl<P, const N: usize> Unpin for GenericInteger<P, N> where
P: Unpin,
impl<P, const N: usize> UnwindSafe for GenericInteger<P, N> where
P: UnwindSafe,
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