Struct crypto_bigint::Checked
source · [−]pub struct Checked<T>(pub CtOption<T>);
Expand description
Tuple Fields
0: CtOption<T>
Implementations
Methods from Deref<Target = CtOption<T>>
Trait Implementations
sourceimpl<const LIMBS: usize> AddAssign<Checked<UInt<LIMBS>>> for Checked<UInt<LIMBS>>
impl<const LIMBS: usize> AddAssign<Checked<UInt<LIMBS>>> for Checked<UInt<LIMBS>>
sourcefn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
Performs the +=
operation. Read more
sourceimpl<T: ConditionallySelectable> ConditionallySelectable for Checked<T>
impl<T: ConditionallySelectable> ConditionallySelectable for Checked<T>
sourceimpl<T: ConstantTimeEq> ConstantTimeEq for Checked<T>
impl<T: ConstantTimeEq> ConstantTimeEq for Checked<T>
sourceimpl<const LIMBS: usize> MulAssign<Checked<UInt<LIMBS>>> for Checked<UInt<LIMBS>>
impl<const LIMBS: usize> MulAssign<Checked<UInt<LIMBS>>> for Checked<UInt<LIMBS>>
sourcefn mul_assign(&mut self, other: Self)
fn mul_assign(&mut self, other: Self)
Performs the *=
operation. Read more
sourceimpl<const LIMBS: usize> SubAssign<Checked<UInt<LIMBS>>> for Checked<UInt<LIMBS>>
impl<const LIMBS: usize> SubAssign<Checked<UInt<LIMBS>>> for Checked<UInt<LIMBS>>
sourcefn sub_assign(&mut self, other: Self)
fn sub_assign(&mut self, other: Self)
Performs the -=
operation. Read more
impl<T: Copy> Copy for Checked<T>
Auto Trait Implementations
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
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more