pub type FheUint2 = FheUint<FheUint2Id>;Expand description
An unsigned integer type with 2 bits
See FheUint
Aliased Type§
pub struct FheUint2 { /* private fields */ }Trait Implementations§
Source§impl AddAssign<u8> for FheUint2
Available on crate feature integer only.
impl AddAssign<u8> for FheUint2
Available on crate feature
integer only.Source§fn add_assign(&mut self, rhs: u8)
fn add_assign(&mut self, rhs: u8)
Performs an addition assignment operation of a clear to a FheUint.
Source§impl AddSizeOnGpu<u8> for FheUint2
Available on crate feature integer only.
impl AddSizeOnGpu<u8> for FheUint2
Available on crate feature
integer only.Source§fn get_add_size_on_gpu(&self, rhs: u8) -> u64
fn get_add_size_on_gpu(&self, rhs: u8) -> u64
Available on crate feature
gpu only.Source§impl BitAndAssign<u8> for FheUint2
Available on crate feature integer only.
impl BitAndAssign<u8> for FheUint2
Available on crate feature
integer only.Source§fn bitand_assign(&mut self, rhs: u8)
fn bitand_assign(&mut self, rhs: u8)
Performs the
&= operation. Read moreSource§impl BitAndSizeOnGpu<u8> for FheUint2
Available on crate feature integer only.
impl BitAndSizeOnGpu<u8> for FheUint2
Available on crate feature
integer only.Source§fn get_bitand_size_on_gpu(&self, rhs: u8) -> u64
fn get_bitand_size_on_gpu(&self, rhs: u8) -> u64
Available on crate feature
gpu only.Source§impl BitOrAssign<u8> for FheUint2
Available on crate feature integer only.
impl BitOrAssign<u8> for FheUint2
Available on crate feature
integer only.Source§fn bitor_assign(&mut self, rhs: u8)
fn bitor_assign(&mut self, rhs: u8)
Performs the
|= operation. Read moreSource§impl BitOrSizeOnGpu<u8> for FheUint2
Available on crate feature integer only.
impl BitOrSizeOnGpu<u8> for FheUint2
Available on crate feature
integer only.Source§fn get_bitor_size_on_gpu(&self, rhs: u8) -> u64
fn get_bitor_size_on_gpu(&self, rhs: u8) -> u64
Available on crate feature
gpu only.Source§impl BitXorAssign<u8> for FheUint2
Available on crate feature integer only.
impl BitXorAssign<u8> for FheUint2
Available on crate feature
integer only.Source§fn bitxor_assign(&mut self, rhs: u8)
fn bitxor_assign(&mut self, rhs: u8)
Performs the
^= operation. Read moreSource§impl BitXorSizeOnGpu<u8> for FheUint2
Available on crate feature integer only.
impl BitXorSizeOnGpu<u8> for FheUint2
Available on crate feature
integer only.Source§fn get_bitxor_size_on_gpu(&self, rhs: u8) -> u64
fn get_bitxor_size_on_gpu(&self, rhs: u8) -> u64
Available on crate feature
gpu only.Source§impl DivAssign<u8> for FheUint2
Available on crate feature integer only.
impl DivAssign<u8> for FheUint2
Available on crate feature
integer only.Source§fn div_assign(&mut self, rhs: u8)
fn div_assign(&mut self, rhs: u8)
Performs the
/= operation. Read moreSource§impl DivRemSizeOnGpu<u8> for FheUint2
Available on crate feature integer only.
impl DivRemSizeOnGpu<u8> for FheUint2
Available on crate feature
integer only.Source§fn get_div_rem_size_on_gpu(&self, rhs: u8) -> u64
fn get_div_rem_size_on_gpu(&self, rhs: u8) -> u64
Available on crate feature
gpu only.Source§impl DivSizeOnGpu<u8> for FheUint2
Available on crate feature integer only.
impl DivSizeOnGpu<u8> for FheUint2
Available on crate feature
integer only.Source§fn get_div_size_on_gpu(&self, rhs: u8) -> u64
fn get_div_size_on_gpu(&self, rhs: u8) -> u64
Available on crate feature
gpu only.Source§impl MulAssign<u8> for FheUint2
Available on crate feature integer only.
impl MulAssign<u8> for FheUint2
Available on crate feature
integer only.Source§fn mul_assign(&mut self, rhs: u8)
fn mul_assign(&mut self, rhs: u8)
Performs the
*= operation. Read moreSource§impl MulSizeOnGpu<u8> for FheUint2
Available on crate feature integer only.
impl MulSizeOnGpu<u8> for FheUint2
Available on crate feature
integer only.Source§fn get_mul_size_on_gpu(&self, rhs: u8) -> u64
fn get_mul_size_on_gpu(&self, rhs: u8) -> u64
Available on crate feature
gpu only.Source§impl RemAssign<u8> for FheUint2
Available on crate feature integer only.
impl RemAssign<u8> for FheUint2
Available on crate feature
integer only.Source§fn rem_assign(&mut self, rhs: u8)
fn rem_assign(&mut self, rhs: u8)
Performs the
%= operation. Read moreSource§impl RemSizeOnGpu<u8> for FheUint2
Available on crate feature integer only.
impl RemSizeOnGpu<u8> for FheUint2
Available on crate feature
integer only.Source§fn get_rem_size_on_gpu(&self, rhs: u8) -> u64
fn get_rem_size_on_gpu(&self, rhs: u8) -> u64
Available on crate feature
gpu only.Source§impl RotateLeft<u128> for &FheUint2
Available on crate feature integer only.
impl RotateLeft<u128> for &FheUint2
Available on crate feature
integer only.type Output = FheUint<FheUint2Id>
fn rotate_left(self, rhs: u128) -> Self::Output
Source§impl RotateLeft<u128> for FheUint2
Available on crate feature integer only.
impl RotateLeft<u128> for FheUint2
Available on crate feature
integer only.type Output = FheUint<FheUint2Id>
fn rotate_left(self, rhs: u128) -> Self::Output
Source§impl RotateLeft<u16> for &FheUint2
Available on crate feature integer only.
impl RotateLeft<u16> for &FheUint2
Available on crate feature
integer only.type Output = FheUint<FheUint2Id>
fn rotate_left(self, rhs: u16) -> Self::Output
Source§impl RotateLeft<u16> for FheUint2
Available on crate feature integer only.
impl RotateLeft<u16> for FheUint2
Available on crate feature
integer only.type Output = FheUint<FheUint2Id>
fn rotate_left(self, rhs: u16) -> Self::Output
Source§impl RotateLeft<u32> for &FheUint2
Available on crate feature integer only.
impl RotateLeft<u32> for &FheUint2
Available on crate feature
integer only.type Output = FheUint<FheUint2Id>
fn rotate_left(self, rhs: u32) -> Self::Output
Source§impl RotateLeft<u32> for FheUint2
Available on crate feature integer only.
impl RotateLeft<u32> for FheUint2
Available on crate feature
integer only.type Output = FheUint<FheUint2Id>
fn rotate_left(self, rhs: u32) -> Self::Output
Source§impl RotateLeft<u64> for &FheUint2
Available on crate feature integer only.
impl RotateLeft<u64> for &FheUint2
Available on crate feature
integer only.type Output = FheUint<FheUint2Id>
fn rotate_left(self, rhs: u64) -> Self::Output
Source§impl RotateLeft<u64> for FheUint2
Available on crate feature integer only.
impl RotateLeft<u64> for FheUint2
Available on crate feature
integer only.type Output = FheUint<FheUint2Id>
fn rotate_left(self, rhs: u64) -> Self::Output
Source§impl RotateLeft<u8> for &FheUint2
Available on crate feature integer only.
impl RotateLeft<u8> for &FheUint2
Available on crate feature
integer only.type Output = FheUint<FheUint2Id>
fn rotate_left(self, rhs: u8) -> Self::Output
Source§impl RotateLeft<u8> for FheUint2
Available on crate feature integer only.
impl RotateLeft<u8> for FheUint2
Available on crate feature
integer only.type Output = FheUint<FheUint2Id>
fn rotate_left(self, rhs: u8) -> Self::Output
Source§impl RotateLeftAssign<u128> for FheUint2
Available on crate feature integer only.
impl RotateLeftAssign<u128> for FheUint2
Available on crate feature
integer only.fn rotate_left_assign(&mut self, rhs: u128)
Source§impl RotateLeftAssign<u16> for FheUint2
Available on crate feature integer only.
impl RotateLeftAssign<u16> for FheUint2
Available on crate feature
integer only.fn rotate_left_assign(&mut self, rhs: u16)
Source§impl RotateLeftAssign<u32> for FheUint2
Available on crate feature integer only.
impl RotateLeftAssign<u32> for FheUint2
Available on crate feature
integer only.fn rotate_left_assign(&mut self, rhs: u32)
Source§impl RotateLeftAssign<u64> for FheUint2
Available on crate feature integer only.
impl RotateLeftAssign<u64> for FheUint2
Available on crate feature
integer only.fn rotate_left_assign(&mut self, rhs: u64)
Source§impl RotateLeftAssign<u8> for FheUint2
Available on crate feature integer only.
impl RotateLeftAssign<u8> for FheUint2
Available on crate feature
integer only.fn rotate_left_assign(&mut self, rhs: u8)
Source§impl RotateLeftSizeOnGpu<u128> for FheUint2
Available on crate feature integer only.
impl RotateLeftSizeOnGpu<u128> for FheUint2
Available on crate feature
integer only.Source§fn get_rotate_left_size_on_gpu(&self, rhs: u128) -> u64
fn get_rotate_left_size_on_gpu(&self, rhs: u128) -> u64
Available on crate feature
gpu only.Source§impl RotateLeftSizeOnGpu<u16> for FheUint2
Available on crate feature integer only.
impl RotateLeftSizeOnGpu<u16> for FheUint2
Available on crate feature
integer only.Source§fn get_rotate_left_size_on_gpu(&self, rhs: u16) -> u64
fn get_rotate_left_size_on_gpu(&self, rhs: u16) -> u64
Available on crate feature
gpu only.Source§impl RotateLeftSizeOnGpu<u32> for FheUint2
Available on crate feature integer only.
impl RotateLeftSizeOnGpu<u32> for FheUint2
Available on crate feature
integer only.Source§fn get_rotate_left_size_on_gpu(&self, rhs: u32) -> u64
fn get_rotate_left_size_on_gpu(&self, rhs: u32) -> u64
Available on crate feature
gpu only.Source§impl RotateLeftSizeOnGpu<u64> for FheUint2
Available on crate feature integer only.
impl RotateLeftSizeOnGpu<u64> for FheUint2
Available on crate feature
integer only.Source§fn get_rotate_left_size_on_gpu(&self, rhs: u64) -> u64
fn get_rotate_left_size_on_gpu(&self, rhs: u64) -> u64
Available on crate feature
gpu only.Source§impl RotateLeftSizeOnGpu<u8> for FheUint2
Available on crate feature integer only.
impl RotateLeftSizeOnGpu<u8> for FheUint2
Available on crate feature
integer only.Source§fn get_rotate_left_size_on_gpu(&self, rhs: u8) -> u64
fn get_rotate_left_size_on_gpu(&self, rhs: u8) -> u64
Available on crate feature
gpu only.Source§impl RotateRight<u128> for &FheUint2
Available on crate feature integer only.
impl RotateRight<u128> for &FheUint2
Available on crate feature
integer only.type Output = FheUint<FheUint2Id>
fn rotate_right(self, rhs: u128) -> Self::Output
Source§impl RotateRight<u128> for FheUint2
Available on crate feature integer only.
impl RotateRight<u128> for FheUint2
Available on crate feature
integer only.type Output = FheUint<FheUint2Id>
fn rotate_right(self, rhs: u128) -> Self::Output
Source§impl RotateRight<u16> for &FheUint2
Available on crate feature integer only.
impl RotateRight<u16> for &FheUint2
Available on crate feature
integer only.type Output = FheUint<FheUint2Id>
fn rotate_right(self, rhs: u16) -> Self::Output
Source§impl RotateRight<u16> for FheUint2
Available on crate feature integer only.
impl RotateRight<u16> for FheUint2
Available on crate feature
integer only.type Output = FheUint<FheUint2Id>
fn rotate_right(self, rhs: u16) -> Self::Output
Source§impl RotateRight<u32> for &FheUint2
Available on crate feature integer only.
impl RotateRight<u32> for &FheUint2
Available on crate feature
integer only.type Output = FheUint<FheUint2Id>
fn rotate_right(self, rhs: u32) -> Self::Output
Source§impl RotateRight<u32> for FheUint2
Available on crate feature integer only.
impl RotateRight<u32> for FheUint2
Available on crate feature
integer only.type Output = FheUint<FheUint2Id>
fn rotate_right(self, rhs: u32) -> Self::Output
Source§impl RotateRight<u64> for &FheUint2
Available on crate feature integer only.
impl RotateRight<u64> for &FheUint2
Available on crate feature
integer only.type Output = FheUint<FheUint2Id>
fn rotate_right(self, rhs: u64) -> Self::Output
Source§impl RotateRight<u64> for FheUint2
Available on crate feature integer only.
impl RotateRight<u64> for FheUint2
Available on crate feature
integer only.type Output = FheUint<FheUint2Id>
fn rotate_right(self, rhs: u64) -> Self::Output
Source§impl RotateRight<u8> for &FheUint2
Available on crate feature integer only.
impl RotateRight<u8> for &FheUint2
Available on crate feature
integer only.type Output = FheUint<FheUint2Id>
fn rotate_right(self, rhs: u8) -> Self::Output
Source§impl RotateRight<u8> for FheUint2
Available on crate feature integer only.
impl RotateRight<u8> for FheUint2
Available on crate feature
integer only.type Output = FheUint<FheUint2Id>
fn rotate_right(self, rhs: u8) -> Self::Output
Source§impl RotateRightAssign<u128> for FheUint2
Available on crate feature integer only.
impl RotateRightAssign<u128> for FheUint2
Available on crate feature
integer only.fn rotate_right_assign(&mut self, rhs: u128)
Source§impl RotateRightAssign<u16> for FheUint2
Available on crate feature integer only.
impl RotateRightAssign<u16> for FheUint2
Available on crate feature
integer only.fn rotate_right_assign(&mut self, rhs: u16)
Source§impl RotateRightAssign<u32> for FheUint2
Available on crate feature integer only.
impl RotateRightAssign<u32> for FheUint2
Available on crate feature
integer only.fn rotate_right_assign(&mut self, rhs: u32)
Source§impl RotateRightAssign<u64> for FheUint2
Available on crate feature integer only.
impl RotateRightAssign<u64> for FheUint2
Available on crate feature
integer only.fn rotate_right_assign(&mut self, rhs: u64)
Source§impl RotateRightAssign<u8> for FheUint2
Available on crate feature integer only.
impl RotateRightAssign<u8> for FheUint2
Available on crate feature
integer only.fn rotate_right_assign(&mut self, rhs: u8)
Source§impl RotateRightSizeOnGpu<u128> for FheUint2
Available on crate feature integer only.
impl RotateRightSizeOnGpu<u128> for FheUint2
Available on crate feature
integer only.Source§fn get_rotate_right_size_on_gpu(&self, rhs: u128) -> u64
fn get_rotate_right_size_on_gpu(&self, rhs: u128) -> u64
Available on crate feature
gpu only.Source§impl RotateRightSizeOnGpu<u16> for FheUint2
Available on crate feature integer only.
impl RotateRightSizeOnGpu<u16> for FheUint2
Available on crate feature
integer only.Source§fn get_rotate_right_size_on_gpu(&self, rhs: u16) -> u64
fn get_rotate_right_size_on_gpu(&self, rhs: u16) -> u64
Available on crate feature
gpu only.Source§impl RotateRightSizeOnGpu<u32> for FheUint2
Available on crate feature integer only.
impl RotateRightSizeOnGpu<u32> for FheUint2
Available on crate feature
integer only.Source§fn get_rotate_right_size_on_gpu(&self, rhs: u32) -> u64
fn get_rotate_right_size_on_gpu(&self, rhs: u32) -> u64
Available on crate feature
gpu only.Source§impl RotateRightSizeOnGpu<u64> for FheUint2
Available on crate feature integer only.
impl RotateRightSizeOnGpu<u64> for FheUint2
Available on crate feature
integer only.Source§fn get_rotate_right_size_on_gpu(&self, rhs: u64) -> u64
fn get_rotate_right_size_on_gpu(&self, rhs: u64) -> u64
Available on crate feature
gpu only.Source§impl RotateRightSizeOnGpu<u8> for FheUint2
Available on crate feature integer only.
impl RotateRightSizeOnGpu<u8> for FheUint2
Available on crate feature
integer only.Source§fn get_rotate_right_size_on_gpu(&self, rhs: u8) -> u64
fn get_rotate_right_size_on_gpu(&self, rhs: u8) -> u64
Available on crate feature
gpu only.Source§impl ShlAssign<u128> for FheUint2
Available on crate feature integer only.
impl ShlAssign<u128> for FheUint2
Available on crate feature
integer only.Source§fn shl_assign(&mut self, rhs: u128)
fn shl_assign(&mut self, rhs: u128)
Performs the
<<= operation. Read moreSource§impl ShlAssign<u16> for FheUint2
Available on crate feature integer only.
impl ShlAssign<u16> for FheUint2
Available on crate feature
integer only.Source§fn shl_assign(&mut self, rhs: u16)
fn shl_assign(&mut self, rhs: u16)
Performs the
<<= operation. Read moreSource§impl ShlAssign<u32> for FheUint2
Available on crate feature integer only.
impl ShlAssign<u32> for FheUint2
Available on crate feature
integer only.Source§fn shl_assign(&mut self, rhs: u32)
fn shl_assign(&mut self, rhs: u32)
Performs the
<<= operation. Read moreSource§impl ShlAssign<u64> for FheUint2
Available on crate feature integer only.
impl ShlAssign<u64> for FheUint2
Available on crate feature
integer only.Source§fn shl_assign(&mut self, rhs: u64)
fn shl_assign(&mut self, rhs: u64)
Performs the
<<= operation. Read moreSource§impl ShlAssign<u8> for FheUint2
Available on crate feature integer only.
impl ShlAssign<u8> for FheUint2
Available on crate feature
integer only.Source§fn shl_assign(&mut self, rhs: u8)
fn shl_assign(&mut self, rhs: u8)
Performs the
<<= operation. Read moreSource§impl ShlSizeOnGpu<u128> for FheUint2
Available on crate feature integer only.
impl ShlSizeOnGpu<u128> for FheUint2
Available on crate feature
integer only.Source§fn get_left_shift_size_on_gpu(&self, rhs: u128) -> u64
fn get_left_shift_size_on_gpu(&self, rhs: u128) -> u64
Available on crate feature
gpu only.Source§impl ShlSizeOnGpu<u16> for FheUint2
Available on crate feature integer only.
impl ShlSizeOnGpu<u16> for FheUint2
Available on crate feature
integer only.Source§fn get_left_shift_size_on_gpu(&self, rhs: u16) -> u64
fn get_left_shift_size_on_gpu(&self, rhs: u16) -> u64
Available on crate feature
gpu only.Source§impl ShlSizeOnGpu<u32> for FheUint2
Available on crate feature integer only.
impl ShlSizeOnGpu<u32> for FheUint2
Available on crate feature
integer only.Source§fn get_left_shift_size_on_gpu(&self, rhs: u32) -> u64
fn get_left_shift_size_on_gpu(&self, rhs: u32) -> u64
Available on crate feature
gpu only.Source§impl ShlSizeOnGpu<u64> for FheUint2
Available on crate feature integer only.
impl ShlSizeOnGpu<u64> for FheUint2
Available on crate feature
integer only.Source§fn get_left_shift_size_on_gpu(&self, rhs: u64) -> u64
fn get_left_shift_size_on_gpu(&self, rhs: u64) -> u64
Available on crate feature
gpu only.Source§impl ShlSizeOnGpu<u8> for FheUint2
Available on crate feature integer only.
impl ShlSizeOnGpu<u8> for FheUint2
Available on crate feature
integer only.Source§fn get_left_shift_size_on_gpu(&self, rhs: u8) -> u64
fn get_left_shift_size_on_gpu(&self, rhs: u8) -> u64
Available on crate feature
gpu only.Source§impl ShrAssign<u128> for FheUint2
Available on crate feature integer only.
impl ShrAssign<u128> for FheUint2
Available on crate feature
integer only.Source§fn shr_assign(&mut self, rhs: u128)
fn shr_assign(&mut self, rhs: u128)
Performs the
>>= operation. Read moreSource§impl ShrAssign<u16> for FheUint2
Available on crate feature integer only.
impl ShrAssign<u16> for FheUint2
Available on crate feature
integer only.Source§fn shr_assign(&mut self, rhs: u16)
fn shr_assign(&mut self, rhs: u16)
Performs the
>>= operation. Read moreSource§impl ShrAssign<u32> for FheUint2
Available on crate feature integer only.
impl ShrAssign<u32> for FheUint2
Available on crate feature
integer only.Source§fn shr_assign(&mut self, rhs: u32)
fn shr_assign(&mut self, rhs: u32)
Performs the
>>= operation. Read moreSource§impl ShrAssign<u64> for FheUint2
Available on crate feature integer only.
impl ShrAssign<u64> for FheUint2
Available on crate feature
integer only.Source§fn shr_assign(&mut self, rhs: u64)
fn shr_assign(&mut self, rhs: u64)
Performs the
>>= operation. Read moreSource§impl ShrAssign<u8> for FheUint2
Available on crate feature integer only.
impl ShrAssign<u8> for FheUint2
Available on crate feature
integer only.Source§fn shr_assign(&mut self, rhs: u8)
fn shr_assign(&mut self, rhs: u8)
Performs the
>>= operation. Read moreSource§impl ShrSizeOnGpu<u128> for FheUint2
Available on crate feature integer only.
impl ShrSizeOnGpu<u128> for FheUint2
Available on crate feature
integer only.Source§fn get_right_shift_size_on_gpu(&self, rhs: u128) -> u64
fn get_right_shift_size_on_gpu(&self, rhs: u128) -> u64
Available on crate feature
gpu only.Source§impl ShrSizeOnGpu<u16> for FheUint2
Available on crate feature integer only.
impl ShrSizeOnGpu<u16> for FheUint2
Available on crate feature
integer only.Source§fn get_right_shift_size_on_gpu(&self, rhs: u16) -> u64
fn get_right_shift_size_on_gpu(&self, rhs: u16) -> u64
Available on crate feature
gpu only.Source§impl ShrSizeOnGpu<u32> for FheUint2
Available on crate feature integer only.
impl ShrSizeOnGpu<u32> for FheUint2
Available on crate feature
integer only.Source§fn get_right_shift_size_on_gpu(&self, rhs: u32) -> u64
fn get_right_shift_size_on_gpu(&self, rhs: u32) -> u64
Available on crate feature
gpu only.Source§impl ShrSizeOnGpu<u64> for FheUint2
Available on crate feature integer only.
impl ShrSizeOnGpu<u64> for FheUint2
Available on crate feature
integer only.Source§fn get_right_shift_size_on_gpu(&self, rhs: u64) -> u64
fn get_right_shift_size_on_gpu(&self, rhs: u64) -> u64
Available on crate feature
gpu only.Source§impl ShrSizeOnGpu<u8> for FheUint2
Available on crate feature integer only.
impl ShrSizeOnGpu<u8> for FheUint2
Available on crate feature
integer only.Source§fn get_right_shift_size_on_gpu(&self, rhs: u8) -> u64
fn get_right_shift_size_on_gpu(&self, rhs: u8) -> u64
Available on crate feature
gpu only.Source§impl SubAssign<u8> for FheUint2
Available on crate feature integer only.
impl SubAssign<u8> for FheUint2
Available on crate feature
integer only.Source§fn sub_assign(&mut self, rhs: u8)
fn sub_assign(&mut self, rhs: u8)
Performs the
-= operation. Read moreSource§impl SubSizeOnGpu<u8> for FheUint2
Available on crate feature integer only.
impl SubSizeOnGpu<u8> for FheUint2
Available on crate feature
integer only.Source§fn get_sub_size_on_gpu(&self, rhs: u8) -> u64
fn get_sub_size_on_gpu(&self, rhs: u8) -> u64
Available on crate feature
gpu only.