pub struct MpcScalarResult { /* private fields */ }Expand description
Defines a secret shared type over the Scalar field
Implementations§
Source§impl MpcScalarResult
Defines the result handle type that represents a future result of an MpcScalarResult
impl MpcScalarResult
Defines the result handle type that represents a future result of an MpcScalarResult
Creates an MPC scalar from a given underlying scalar assumed to be a secret share
Sourcepub fn open(&self) -> ResultHandle<Scalar> ⓘ
pub fn open(&self) -> ResultHandle<Scalar> ⓘ
Open the value; both parties send their shares to the counterparty
Sourcepub fn open_batch(values: &[MpcScalarResult]) -> Vec<ScalarResult> ⓘ
pub fn open_batch(values: &[MpcScalarResult]) -> Vec<ScalarResult> ⓘ
Open a batch of values
Sourcepub fn to_scalar(&self) -> ScalarResult
pub fn to_scalar(&self) -> ScalarResult
Convert the underlying value to a Scalar
Source§impl MpcScalarResult
impl MpcScalarResult
Sourcepub fn batch_add(
a: &[MpcScalarResult],
b: &[MpcScalarResult],
) -> Vec<MpcScalarResult>
pub fn batch_add( a: &[MpcScalarResult], b: &[MpcScalarResult], ) -> Vec<MpcScalarResult>
Add two batches of MpcScalarResults using a single batched gate
Sourcepub fn batch_add_public(
a: &[MpcScalarResult],
b: &[ScalarResult],
) -> Vec<MpcScalarResult>
pub fn batch_add_public( a: &[MpcScalarResult], b: &[ScalarResult], ) -> Vec<MpcScalarResult>
Add a batch of MpcScalarResults to a batch of public ScalarResults
Source§impl MpcScalarResult
impl MpcScalarResult
Sourcepub fn batch_sub(
a: &[MpcScalarResult],
b: &[MpcScalarResult],
) -> Vec<MpcScalarResult>
pub fn batch_sub( a: &[MpcScalarResult], b: &[MpcScalarResult], ) -> Vec<MpcScalarResult>
Subtract two batches of MpcScalarResults using a single batched gate
Sourcepub fn batch_sub_public(
a: &[MpcScalarResult],
b: &[ScalarResult],
) -> Vec<MpcScalarResult>
pub fn batch_sub_public( a: &[MpcScalarResult], b: &[ScalarResult], ) -> Vec<MpcScalarResult>
Subtract a batch of MpcScalarResults from a batch of public ScalarResults
Source§impl MpcScalarResult
impl MpcScalarResult
Sourcepub fn batch_neg(values: &[MpcScalarResult]) -> Vec<MpcScalarResult>
pub fn batch_neg(values: &[MpcScalarResult]) -> Vec<MpcScalarResult>
Negate a batch of MpcScalarResults using a single batched gate
Source§impl MpcScalarResult
impl MpcScalarResult
Sourcepub fn batch_mul(
a: &[MpcScalarResult],
b: &[MpcScalarResult],
) -> Vec<MpcScalarResult>
pub fn batch_mul( a: &[MpcScalarResult], b: &[MpcScalarResult], ) -> Vec<MpcScalarResult>
Multiply a batch of MpcScalarResults over a single network op
Sourcepub fn batch_mul_public(
a: &[MpcScalarResult],
b: &[ScalarResult],
) -> Vec<MpcScalarResult>
pub fn batch_mul_public( a: &[MpcScalarResult], b: &[ScalarResult], ) -> Vec<MpcScalarResult>
Multiply a batch of MpcScalarResults by a batch of public ScalarResults
Trait Implementations§
Source§impl Add<&MpcScalarResult> for &MpcScalarResult
impl Add<&MpcScalarResult> for &MpcScalarResult
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
+ operator.Source§impl<'a> Add<&'a MpcScalarResult> for &'a ScalarResult
lhs borrowed, rhs borrowed
impl<'a> Add<&'a MpcScalarResult> for &'a ScalarResult
lhs borrowed, rhs borrowed
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
+ operator.Source§impl<'a> Add<&'a MpcScalarResult> for &'a Scalar
lhs borrowed, rhs borrowed
impl<'a> Add<&'a MpcScalarResult> for &'a Scalar
lhs borrowed, rhs borrowed
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
+ operator.Source§impl<'a> Add<&'a MpcScalarResult> for MpcScalarResult
lhs owned, rhs borrowed
impl<'a> Add<&'a MpcScalarResult> for MpcScalarResult
lhs owned, rhs borrowed
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
+ operator.Source§impl<'a> Add<&'a MpcScalarResult> for ScalarResult
lhs owned, rhs borrowed
impl<'a> Add<&'a MpcScalarResult> for ScalarResult
lhs owned, rhs borrowed
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
+ operator.Source§impl<'a> Add<&'a MpcScalarResult> for Scalar
lhs owned, rhs borrowed
impl<'a> Add<&'a MpcScalarResult> for Scalar
lhs owned, rhs borrowed
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
+ operator.Source§impl Add<&ResultHandle<Scalar>> for &MpcScalarResult
impl Add<&ResultHandle<Scalar>> for &MpcScalarResult
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
+ operator.Source§impl<'a> Add<&'a ResultHandle<Scalar>> for MpcScalarResult
lhs owned, rhs borrowed
impl<'a> Add<&'a ResultHandle<Scalar>> for MpcScalarResult
lhs owned, rhs borrowed
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
+ operator.Source§impl Add<&Scalar> for &MpcScalarResult
impl Add<&Scalar> for &MpcScalarResult
Source§impl<'a> Add<&'a Scalar> for MpcScalarResult
lhs owned, rhs borrowed
impl<'a> Add<&'a Scalar> for MpcScalarResult
lhs owned, rhs borrowed
Source§impl<'a> Add<MpcScalarResult> for &'a MpcScalarResult
lhs borrowed, rhs owned
impl<'a> Add<MpcScalarResult> for &'a MpcScalarResult
lhs borrowed, rhs owned
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
+ operator.Source§impl<'a> Add<MpcScalarResult> for &'a ScalarResult
lhs borrowed, rhs owned
impl<'a> Add<MpcScalarResult> for &'a ScalarResult
lhs borrowed, rhs owned
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
+ operator.Source§impl<'a> Add<MpcScalarResult> for &'a Scalar
lhs borrowed, rhs owned
impl<'a> Add<MpcScalarResult> for &'a Scalar
lhs borrowed, rhs owned
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
+ operator.Source§impl Add<MpcScalarResult> for ScalarResult
lhs owned, rhs owned
impl Add<MpcScalarResult> for ScalarResult
lhs owned, rhs owned
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
+ operator.Source§impl Add<MpcScalarResult> for Scalar
lhs owned, rhs owned
impl Add<MpcScalarResult> for Scalar
lhs owned, rhs owned
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
+ operator.Source§impl<'a> Add<ResultHandle<Scalar>> for &'a MpcScalarResult
lhs borrowed, rhs owned
impl<'a> Add<ResultHandle<Scalar>> for &'a MpcScalarResult
lhs borrowed, rhs owned
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
+ operator.Source§impl Add<ResultHandle<Scalar>> for MpcScalarResult
lhs owned, rhs owned
impl Add<ResultHandle<Scalar>> for MpcScalarResult
lhs owned, rhs owned
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
+ operator.Source§impl<'a> Add<Scalar> for &'a MpcScalarResult
lhs borrowed, rhs owned
impl<'a> Add<Scalar> for &'a MpcScalarResult
lhs borrowed, rhs owned
Source§impl Add<Scalar> for MpcScalarResult
lhs owned, rhs owned
impl Add<Scalar> for MpcScalarResult
lhs owned, rhs owned
Source§impl Add for MpcScalarResult
lhs owned, rhs owned
impl Add for MpcScalarResult
lhs owned, rhs owned
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
+ operator.Source§impl Clone for MpcScalarResult
impl Clone for MpcScalarResult
Source§fn clone(&self) -> MpcScalarResult
fn clone(&self) -> MpcScalarResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MpcScalarResult
impl Debug for MpcScalarResult
Source§impl From<ResultHandle<Scalar>> for MpcScalarResult
impl From<ResultHandle<Scalar>> for MpcScalarResult
Source§fn from(share: ScalarResult) -> Self
fn from(share: ScalarResult) -> Self
Source§impl Mul<&MpcScalarResult> for &MpcScalarResult
Use the beaver trick if both values are shared
impl Mul<&MpcScalarResult> for &MpcScalarResult
Use the beaver trick if both values are shared
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
* operator.Source§impl Mul<&MpcScalarResult> for &MpcStarkPointResult
impl Mul<&MpcScalarResult> for &MpcStarkPointResult
Source§type Output = MpcStarkPointResult
type Output = MpcStarkPointResult
* operator.Source§impl<'a> Mul<&'a MpcScalarResult> for &'a ScalarResult
lhs borrowed, rhs borrowed
impl<'a> Mul<&'a MpcScalarResult> for &'a ScalarResult
lhs borrowed, rhs borrowed
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
* operator.Source§impl Mul<&MpcScalarResult> for &StarkPointResult
impl Mul<&MpcScalarResult> for &StarkPointResult
Source§type Output = MpcStarkPointResult
type Output = MpcStarkPointResult
* operator.Source§impl<'a> Mul<&'a MpcScalarResult> for &'a Scalar
lhs borrowed, rhs borrowed
impl<'a> Mul<&'a MpcScalarResult> for &'a Scalar
lhs borrowed, rhs borrowed
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
* operator.Source§impl Mul<&MpcScalarResult> for &StarkPoint
impl Mul<&MpcScalarResult> for &StarkPoint
Source§type Output = MpcStarkPointResult
type Output = MpcStarkPointResult
* operator.Source§impl<'a> Mul<&'a MpcScalarResult> for MpcScalarResult
lhs owned, rhs borrowed
impl<'a> Mul<&'a MpcScalarResult> for MpcScalarResult
lhs owned, rhs borrowed
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
* operator.Source§impl<'a> Mul<&'a MpcScalarResult> for MpcStarkPointResult
lhs owned, rhs borrowed
impl<'a> Mul<&'a MpcScalarResult> for MpcStarkPointResult
lhs owned, rhs borrowed
Source§type Output = MpcStarkPointResult
type Output = MpcStarkPointResult
* operator.Source§impl<'a> Mul<&'a MpcScalarResult> for ScalarResult
lhs owned, rhs borrowed
impl<'a> Mul<&'a MpcScalarResult> for ScalarResult
lhs owned, rhs borrowed
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
* operator.Source§impl<'a> Mul<&'a MpcScalarResult> for StarkPointResult
lhs owned, rhs borrowed
impl<'a> Mul<&'a MpcScalarResult> for StarkPointResult
lhs owned, rhs borrowed
Source§type Output = MpcStarkPointResult
type Output = MpcStarkPointResult
* operator.Source§impl<'a> Mul<&'a MpcScalarResult> for Scalar
lhs owned, rhs borrowed
impl<'a> Mul<&'a MpcScalarResult> for Scalar
lhs owned, rhs borrowed
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
* operator.Source§impl<'a> Mul<&'a MpcStarkPointResult> for &'a MpcScalarResult
lhs borrowed, rhs borrowed
impl<'a> Mul<&'a MpcStarkPointResult> for &'a MpcScalarResult
lhs borrowed, rhs borrowed
Source§type Output = MpcStarkPointResult
type Output = MpcStarkPointResult
* operator.Source§impl<'a> Mul<&'a MpcStarkPointResult> for MpcScalarResult
lhs owned, rhs borrowed
impl<'a> Mul<&'a MpcStarkPointResult> for MpcScalarResult
lhs owned, rhs borrowed
Source§type Output = MpcStarkPointResult
type Output = MpcStarkPointResult
* operator.Source§impl Mul<&ResultHandle<Scalar>> for &MpcScalarResult
impl Mul<&ResultHandle<Scalar>> for &MpcScalarResult
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
* operator.Source§impl<'a> Mul<&'a ResultHandle<Scalar>> for MpcScalarResult
lhs owned, rhs borrowed
impl<'a> Mul<&'a ResultHandle<Scalar>> for MpcScalarResult
lhs owned, rhs borrowed
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
* operator.Source§impl<'a> Mul<&'a ResultHandle<StarkPoint>> for &'a MpcScalarResult
lhs borrowed, rhs borrowed
impl<'a> Mul<&'a ResultHandle<StarkPoint>> for &'a MpcScalarResult
lhs borrowed, rhs borrowed
Source§type Output = MpcStarkPointResult
type Output = MpcStarkPointResult
* operator.Source§impl<'a> Mul<&'a ResultHandle<StarkPoint>> for MpcScalarResult
lhs owned, rhs borrowed
impl<'a> Mul<&'a ResultHandle<StarkPoint>> for MpcScalarResult
lhs owned, rhs borrowed
Source§type Output = MpcStarkPointResult
type Output = MpcStarkPointResult
* operator.Source§impl Mul<&Scalar> for &MpcScalarResult
impl Mul<&Scalar> for &MpcScalarResult
Source§impl<'a> Mul<&'a Scalar> for MpcScalarResult
lhs owned, rhs borrowed
impl<'a> Mul<&'a Scalar> for MpcScalarResult
lhs owned, rhs borrowed
Source§impl<'a> Mul<&'a StarkPoint> for &'a MpcScalarResult
lhs borrowed, rhs borrowed
impl<'a> Mul<&'a StarkPoint> for &'a MpcScalarResult
lhs borrowed, rhs borrowed
Source§type Output = MpcStarkPointResult
type Output = MpcStarkPointResult
* operator.Source§impl<'a> Mul<&'a StarkPoint> for MpcScalarResult
lhs owned, rhs borrowed
impl<'a> Mul<&'a StarkPoint> for MpcScalarResult
lhs owned, rhs borrowed
Source§type Output = MpcStarkPointResult
type Output = MpcStarkPointResult
* operator.Source§impl<'a> Mul<MpcScalarResult> for &'a MpcScalarResult
lhs borrowed, rhs owned
impl<'a> Mul<MpcScalarResult> for &'a MpcScalarResult
lhs borrowed, rhs owned
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
* operator.Source§impl<'a> Mul<MpcScalarResult> for &'a MpcStarkPointResult
lhs borrowed, rhs owned
impl<'a> Mul<MpcScalarResult> for &'a MpcStarkPointResult
lhs borrowed, rhs owned
Source§type Output = MpcStarkPointResult
type Output = MpcStarkPointResult
* operator.Source§impl<'a> Mul<MpcScalarResult> for &'a ScalarResult
lhs borrowed, rhs owned
impl<'a> Mul<MpcScalarResult> for &'a ScalarResult
lhs borrowed, rhs owned
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
* operator.Source§impl<'a> Mul<MpcScalarResult> for &'a StarkPointResult
lhs borrowed, rhs owned
impl<'a> Mul<MpcScalarResult> for &'a StarkPointResult
lhs borrowed, rhs owned
Source§type Output = MpcStarkPointResult
type Output = MpcStarkPointResult
* operator.Source§impl<'a> Mul<MpcScalarResult> for &'a Scalar
lhs borrowed, rhs owned
impl<'a> Mul<MpcScalarResult> for &'a Scalar
lhs borrowed, rhs owned
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
* operator.Source§impl Mul<MpcScalarResult> for MpcStarkPointResult
lhs owned, rhs owned
impl Mul<MpcScalarResult> for MpcStarkPointResult
lhs owned, rhs owned
Source§type Output = MpcStarkPointResult
type Output = MpcStarkPointResult
* operator.Source§impl Mul<MpcScalarResult> for ScalarResult
lhs owned, rhs owned
impl Mul<MpcScalarResult> for ScalarResult
lhs owned, rhs owned
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
* operator.Source§impl Mul<MpcScalarResult> for StarkPointResult
lhs owned, rhs owned
impl Mul<MpcScalarResult> for StarkPointResult
lhs owned, rhs owned
Source§type Output = MpcStarkPointResult
type Output = MpcStarkPointResult
* operator.Source§impl Mul<MpcScalarResult> for Scalar
lhs owned, rhs owned
impl Mul<MpcScalarResult> for Scalar
lhs owned, rhs owned
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
* operator.Source§impl<'a> Mul<MpcStarkPointResult> for &'a MpcScalarResult
lhs borrowed, rhs owned
impl<'a> Mul<MpcStarkPointResult> for &'a MpcScalarResult
lhs borrowed, rhs owned
Source§type Output = MpcStarkPointResult
type Output = MpcStarkPointResult
* operator.Source§impl Mul<MpcStarkPointResult> for MpcScalarResult
lhs owned, rhs owned
impl Mul<MpcStarkPointResult> for MpcScalarResult
lhs owned, rhs owned
Source§type Output = MpcStarkPointResult
type Output = MpcStarkPointResult
* operator.Source§impl<'a> Mul<ResultHandle<Scalar>> for &'a MpcScalarResult
lhs borrowed, rhs owned
impl<'a> Mul<ResultHandle<Scalar>> for &'a MpcScalarResult
lhs borrowed, rhs owned
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
* operator.Source§impl Mul<ResultHandle<Scalar>> for MpcScalarResult
lhs owned, rhs owned
impl Mul<ResultHandle<Scalar>> for MpcScalarResult
lhs owned, rhs owned
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
* operator.Source§impl<'a> Mul<ResultHandle<StarkPoint>> for &'a MpcScalarResult
lhs borrowed, rhs owned
impl<'a> Mul<ResultHandle<StarkPoint>> for &'a MpcScalarResult
lhs borrowed, rhs owned
Source§type Output = MpcStarkPointResult
type Output = MpcStarkPointResult
* operator.Source§impl Mul<ResultHandle<StarkPoint>> for MpcScalarResult
lhs owned, rhs owned
impl Mul<ResultHandle<StarkPoint>> for MpcScalarResult
lhs owned, rhs owned
Source§type Output = MpcStarkPointResult
type Output = MpcStarkPointResult
* operator.Source§impl<'a> Mul<Scalar> for &'a MpcScalarResult
lhs borrowed, rhs owned
impl<'a> Mul<Scalar> for &'a MpcScalarResult
lhs borrowed, rhs owned
Source§impl Mul<Scalar> for MpcScalarResult
lhs owned, rhs owned
impl Mul<Scalar> for MpcScalarResult
lhs owned, rhs owned
Source§impl<'a> Mul<StarkPoint> for &'a MpcScalarResult
lhs borrowed, rhs owned
impl<'a> Mul<StarkPoint> for &'a MpcScalarResult
lhs borrowed, rhs owned
Source§type Output = MpcStarkPointResult
type Output = MpcStarkPointResult
* operator.Source§impl Mul<StarkPoint> for MpcScalarResult
lhs owned, rhs owned
impl Mul<StarkPoint> for MpcScalarResult
lhs owned, rhs owned
Source§type Output = MpcStarkPointResult
type Output = MpcStarkPointResult
* operator.Source§impl Mul for MpcScalarResult
lhs owned, rhs owned
impl Mul for MpcScalarResult
lhs owned, rhs owned
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
* operator.Source§impl Neg for &MpcScalarResult
impl Neg for &MpcScalarResult
Source§impl Neg for MpcScalarResult
impl Neg for MpcScalarResult
Source§impl Sub<&MpcScalarResult> for &MpcScalarResult
impl Sub<&MpcScalarResult> for &MpcScalarResult
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
- operator.Source§impl Sub<&MpcScalarResult> for &ScalarResult
impl Sub<&MpcScalarResult> for &ScalarResult
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
- operator.Source§impl Sub<&MpcScalarResult> for &Scalar
impl Sub<&MpcScalarResult> for &Scalar
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
- operator.Source§impl<'a> Sub<&'a MpcScalarResult> for MpcScalarResult
lhs owned, rhs borrowed
impl<'a> Sub<&'a MpcScalarResult> for MpcScalarResult
lhs owned, rhs borrowed
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
- operator.Source§impl<'a> Sub<&'a MpcScalarResult> for ScalarResult
lhs owned, rhs borrowed
impl<'a> Sub<&'a MpcScalarResult> for ScalarResult
lhs owned, rhs borrowed
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
- operator.Source§impl Sub<&ResultHandle<Scalar>> for &MpcScalarResult
impl Sub<&ResultHandle<Scalar>> for &MpcScalarResult
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
- operator.Source§impl<'a> Sub<&'a ResultHandle<Scalar>> for MpcScalarResult
lhs owned, rhs borrowed
impl<'a> Sub<&'a ResultHandle<Scalar>> for MpcScalarResult
lhs owned, rhs borrowed
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
- operator.Source§impl Sub<&Scalar> for &MpcScalarResult
impl Sub<&Scalar> for &MpcScalarResult
Source§impl<'a> Sub<&'a Scalar> for MpcScalarResult
lhs owned, rhs borrowed
impl<'a> Sub<&'a Scalar> for MpcScalarResult
lhs owned, rhs borrowed
Source§impl<'a> Sub<MpcScalarResult> for &'a MpcScalarResult
lhs borrowed, rhs owned
impl<'a> Sub<MpcScalarResult> for &'a MpcScalarResult
lhs borrowed, rhs owned
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
- operator.Source§impl<'a> Sub<MpcScalarResult> for &'a ScalarResult
lhs borrowed, rhs owned
impl<'a> Sub<MpcScalarResult> for &'a ScalarResult
lhs borrowed, rhs owned
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
- operator.Source§impl Sub<MpcScalarResult> for ScalarResult
lhs owned, rhs owned
impl Sub<MpcScalarResult> for ScalarResult
lhs owned, rhs owned
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
- operator.Source§impl<'a> Sub<ResultHandle<Scalar>> for &'a MpcScalarResult
lhs borrowed, rhs owned
impl<'a> Sub<ResultHandle<Scalar>> for &'a MpcScalarResult
lhs borrowed, rhs owned
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
- operator.Source§impl Sub<ResultHandle<Scalar>> for MpcScalarResult
lhs owned, rhs owned
impl Sub<ResultHandle<Scalar>> for MpcScalarResult
lhs owned, rhs owned
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
- operator.Source§impl<'a> Sub<Scalar> for &'a MpcScalarResult
lhs borrowed, rhs owned
impl<'a> Sub<Scalar> for &'a MpcScalarResult
lhs borrowed, rhs owned
Source§impl Sub<Scalar> for MpcScalarResult
lhs owned, rhs owned
impl Sub<Scalar> for MpcScalarResult
lhs owned, rhs owned
Source§impl Sub for MpcScalarResult
lhs owned, rhs owned
impl Sub for MpcScalarResult
lhs owned, rhs owned
Source§type Output = MpcScalarResult
type Output = MpcScalarResult
- operator.Auto Trait Implementations§
impl Freeze for MpcScalarResult
impl !RefUnwindSafe for MpcScalarResult
impl Send for MpcScalarResult
impl Sync for MpcScalarResult
impl Unpin for MpcScalarResult
impl !UnwindSafe for MpcScalarResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more