pub struct Evaluation<I, O> {
pub input: I,
pub output: O,
}Expand description
Represents a polynomial evaluation at a certain input and output, which may be of different types.
Fields§
§input: I§output: OImplementations§
Source§impl<I, O> Evaluation<I, O>
impl<I, O> Evaluation<I, O>
Trait Implementations§
Source§impl<I: Clone, O: Clone> Clone for Evaluation<I, O>
impl<I: Clone, O: Clone> Clone for Evaluation<I, O>
Source§fn clone(&self) -> Evaluation<I, O>
fn clone(&self) -> Evaluation<I, O>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Mul<&Evaluation<MaybeScalar, MaybeScalar>> for G
Allows multiplying a secret share by the secp256k1 generator point.
impl Mul<&Evaluation<MaybeScalar, MaybeScalar>> for G
Allows multiplying a secret share by the secp256k1 generator point.
Source§type Output = Evaluation<MaybeScalar, MaybePoint>
type Output = Evaluation<MaybeScalar, MaybePoint>
The resulting type after applying the
* operator.Source§impl Mul<&Evaluation<MaybeScalar, MaybeScalar>> for Point
Allows multiplying a secret share by a given fixed point.
impl Mul<&Evaluation<MaybeScalar, MaybeScalar>> for Point
Allows multiplying a secret share by a given fixed point.
Source§type Output = Evaluation<MaybeScalar, MaybePoint>
type Output = Evaluation<MaybeScalar, MaybePoint>
The resulting type after applying the
* operator.Source§impl Mul<Evaluation<MaybeScalar, MaybeScalar>> for G
impl Mul<Evaluation<MaybeScalar, MaybeScalar>> for G
Source§type Output = Evaluation<MaybeScalar, MaybePoint>
type Output = Evaluation<MaybeScalar, MaybePoint>
The resulting type after applying the
* operator.Source§impl Mul<Evaluation<MaybeScalar, MaybeScalar>> for Point
impl Mul<Evaluation<MaybeScalar, MaybeScalar>> for Point
Source§type Output = Evaluation<MaybeScalar, MaybePoint>
type Output = Evaluation<MaybeScalar, MaybePoint>
The resulting type after applying the
* operator.impl<I: Copy, O: Copy> Copy for Evaluation<I, O>
impl<I: Eq, O: Eq> Eq for Evaluation<I, O>
impl<I, O> StructuralPartialEq for Evaluation<I, O>
Auto Trait Implementations§
impl<I, O> Freeze for Evaluation<I, O>
impl<I, O> RefUnwindSafe for Evaluation<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
impl<I, O> Send for Evaluation<I, O>
impl<I, O> Sync for Evaluation<I, O>
impl<I, O> Unpin for Evaluation<I, O>
impl<I, O> UnwindSafe for Evaluation<I, O>where
I: UnwindSafe,
O: 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