[−][src]Struct secret_integers::I64
Methods
impl I64
[src]
pub fn classify<T: Into<i64>>(x: T) -> Self
[src]
pub fn declassify(self) -> i64
[src]
Warning: use with caution, breaks the constant-time guarantee.
pub fn zero() -> Self
[src]
pub fn one() -> Self
[src]
pub fn ones() -> Self
[src]
pub fn from_bytes_le(bytes: &[U8]) -> Vec<I64>
[src]
pub fn to_bytes_le(ints: &[I64]) -> Vec<U8>
[src]
pub fn from_bytes_be(bytes: &[U8]) -> Vec<I64>
[src]
pub fn to_bytes_be(ints: &[I64]) -> Vec<U8>
[src]
pub fn to_be_bytes(&self) -> Vec<u8>
[src]
impl I64
[src]
pub fn checked_add(self, rhs: Self) -> Self
[src]
Warning: panics when overflow.
impl I64
[src]
pub fn checked_sub(self, rhs: Self) -> Self
[src]
Warning: panics when overflow.
impl I64
[src]
pub fn checked_mul(self, rhs: Self) -> Self
[src]
Warning: panics when overflow.
impl I64
[src]
pub fn rotate_left(self, rotval: u32) -> Self
[src]
pub fn rotate_right(self, rotval: u32) -> Self
[src]
Trait Implementations
impl Add<I64> for I64
[src]
Warning: has wrapping semantics.
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: Self) -> Self
[src]
impl AddAssign<I64> for I64
[src]
Warning: has wrapping semantics.
fn add_assign(&mut self, rhs: Self)
[src]
impl BitAnd<I64> for I64
[src]
type Output = Self
The resulting type after applying the &
operator.
fn bitand(self, rhs: Self) -> Self
[src]
impl BitAndAssign<I64> for I64
[src]
fn bitand_assign(&mut self, rhs: Self)
[src]
impl BitOr<I64> for I64
[src]
type Output = Self
The resulting type after applying the |
operator.
fn bitor(self, rhs: Self) -> Self
[src]
impl BitOrAssign<I64> for I64
[src]
fn bitor_assign(&mut self, rhs: Self)
[src]
impl BitXor<I64> for I64
[src]
type Output = Self
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: Self) -> Self
[src]
impl BitXorAssign<I64> for I64
[src]
fn bitxor_assign(&mut self, rhs: Self)
[src]
impl Clone for I64
[src]
impl Copy for I64
[src]
impl Debug for I64
[src]
impl Default for I64
[src]
impl Display for I64
[src]
impl From<I128> for I64
[src]
Warning: wrapping semantics.
impl From<I16> for I64
[src]
impl From<I32> for I64
[src]
impl From<I64> for I128
[src]
impl From<I64> for I8
[src]
Warning: wrapping semantics.
impl From<I64> for I16
[src]
Warning: wrapping semantics.
impl From<I64> for I32
[src]
Warning: wrapping semantics.
impl From<I8> for I64
[src]
impl From<U64> for I64
[src]
Warning: wrapping semantics.
impl From<i64> for I64
[src]
impl LowerHex for I64
[src]
impl Mul<I64> for I64
[src]
Warning: has wrapping semantics.
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: Self) -> Self
[src]
impl MulAssign<I64> for I64
[src]
Warning: has wrapping semantics.
fn mul_assign(&mut self, rhs: Self)
[src]
impl Neg for I64
[src]
impl Not for I64
[src]
impl Shl<u32> for I64
[src]
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, rhs: u32) -> Self
[src]
impl ShlAssign<u32> for I64
[src]
fn shl_assign(&mut self, rhs: u32)
[src]
impl Shr<u32> for I64
[src]
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, rhs: u32) -> Self
[src]
impl ShrAssign<u32> for I64
[src]
fn shr_assign(&mut self, rhs: u32)
[src]
impl Sub<I64> for I64
[src]
Warning: has wrapping semantics.
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, rhs: Self) -> Self
[src]
impl SubAssign<I64> for I64
[src]
Warning: has wrapping semantics.
fn sub_assign(&mut self, rhs: Self)
[src]
Auto Trait Implementations
impl RefUnwindSafe for I64
impl Send for I64
impl Sync for I64
impl Unpin for I64
impl UnwindSafe for I64
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,