Struct crypto_bigint::Checked
source · pub struct Checked<T>(pub CtOption<T>);
Expand description
Tuple Fields§
§0: CtOption<T>
Implementations§
Trait Implementations§
source§impl AddAssign<&Checked<Limb>> for Checked<Limb>
impl AddAssign<&Checked<Limb>> for Checked<Limb>
source§fn add_assign(&mut self, other: &Self)
fn add_assign(&mut self, other: &Self)
Performs the
+=
operation. Read moresource§impl<const LIMBS: usize> AddAssign<&Checked<Uint<LIMBS>>> for Checked<Uint<LIMBS>>
impl<const LIMBS: usize> AddAssign<&Checked<Uint<LIMBS>>> for Checked<Uint<LIMBS>>
source§fn add_assign(&mut self, other: &Self)
fn add_assign(&mut self, other: &Self)
Performs the
+=
operation. Read moresource§impl AddAssign for Checked<Limb>
impl AddAssign for Checked<Limb>
source§fn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
Performs the
+=
operation. Read moresource§impl<const LIMBS: usize> AddAssign for Checked<Uint<LIMBS>>
impl<const LIMBS: usize> AddAssign for Checked<Uint<LIMBS>>
source§fn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
Performs the
+=
operation. Read moresource§impl<T: ConditionallySelectable> ConditionallySelectable for Checked<T>
impl<T: ConditionallySelectable> ConditionallySelectable for Checked<T>
source§impl<T: ConstantTimeEq> ConstantTimeEq for Checked<T>
impl<T: ConstantTimeEq> ConstantTimeEq for Checked<T>
source§impl<const LIMBS: usize, const HLIMBS: usize> Mul<&Checked<Uint<HLIMBS>>> for &Checked<Uint<LIMBS>>
impl<const LIMBS: usize, const HLIMBS: usize> Mul<&Checked<Uint<HLIMBS>>> for &Checked<Uint<LIMBS>>
source§impl<const LIMBS: usize, const HLIMBS: usize> Mul<&Checked<Uint<HLIMBS>>> for Checked<Uint<LIMBS>>
impl<const LIMBS: usize, const HLIMBS: usize> Mul<&Checked<Uint<HLIMBS>>> for Checked<Uint<LIMBS>>
source§impl<const LIMBS: usize, const HLIMBS: usize> Mul<Checked<Uint<HLIMBS>>> for &Checked<Uint<LIMBS>>
impl<const LIMBS: usize, const HLIMBS: usize> Mul<Checked<Uint<HLIMBS>>> for &Checked<Uint<LIMBS>>
source§impl<const LIMBS: usize, const HLIMBS: usize> Mul<Checked<Uint<HLIMBS>>> for Checked<Uint<LIMBS>>
impl<const LIMBS: usize, const HLIMBS: usize> Mul<Checked<Uint<HLIMBS>>> for Checked<Uint<LIMBS>>
source§impl MulAssign<&Checked<Limb>> for Checked<Limb>
impl MulAssign<&Checked<Limb>> for Checked<Limb>
source§fn mul_assign(&mut self, other: &Self)
fn mul_assign(&mut self, other: &Self)
Performs the
*=
operation. Read moresource§impl<const LIMBS: usize, const HLIMBS: usize> MulAssign<&Checked<Uint<HLIMBS>>> for Checked<Uint<LIMBS>>
impl<const LIMBS: usize, const HLIMBS: usize> MulAssign<&Checked<Uint<HLIMBS>>> for Checked<Uint<LIMBS>>
source§impl<const LIMBS: usize, const HLIMBS: usize> MulAssign<Checked<Uint<HLIMBS>>> for Checked<Uint<LIMBS>>
impl<const LIMBS: usize, const HLIMBS: usize> MulAssign<Checked<Uint<HLIMBS>>> for Checked<Uint<LIMBS>>
source§impl MulAssign for Checked<Limb>
impl MulAssign for Checked<Limb>
source§fn mul_assign(&mut self, other: Self)
fn mul_assign(&mut self, other: Self)
Performs the
*=
operation. Read moresource§impl SubAssign<&Checked<Limb>> for Checked<Limb>
impl SubAssign<&Checked<Limb>> for Checked<Limb>
source§fn sub_assign(&mut self, other: &Self)
fn sub_assign(&mut self, other: &Self)
Performs the
-=
operation. Read moresource§impl<const LIMBS: usize> SubAssign<&Checked<Uint<LIMBS>>> for Checked<Uint<LIMBS>>
impl<const LIMBS: usize> SubAssign<&Checked<Uint<LIMBS>>> for Checked<Uint<LIMBS>>
source§fn sub_assign(&mut self, other: &Self)
fn sub_assign(&mut self, other: &Self)
Performs the
-=
operation. Read moresource§impl SubAssign for Checked<Limb>
impl SubAssign for Checked<Limb>
source§fn sub_assign(&mut self, other: Self)
fn sub_assign(&mut self, other: Self)
Performs the
-=
operation. Read moresource§impl<const LIMBS: usize> SubAssign for Checked<Uint<LIMBS>>
impl<const LIMBS: usize> SubAssign for Checked<Uint<LIMBS>>
source§fn sub_assign(&mut self, other: Self)
fn sub_assign(&mut self, other: Self)
Performs the
-=
operation. Read moreimpl<T: Copy> Copy for Checked<T>
Auto Trait Implementations§
impl<T> Freeze for Checked<T>where
T: Freeze,
impl<T> RefUnwindSafe for Checked<T>where
T: RefUnwindSafe,
impl<T> Send for Checked<T>where
T: Send,
impl<T> Sync for Checked<T>where
T: Sync,
impl<T> Unpin for Checked<T>where
T: Unpin,
impl<T> UnwindSafe for Checked<T>where
T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)