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