[−][src]Struct bulletproofs::r1cs::LinearCombination
Represents a linear combination of
Variables
. Each term is represented by a
(Variable, Scalar)
pair.
Trait Implementations
impl<L: Into<LinearCombination>> Add<L> for LinearCombination
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: L) -> Self::Output
[src]
impl Clone for LinearCombination
[src]
fn clone(&self) -> LinearCombination
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for LinearCombination
[src]
impl Default for LinearCombination
[src]
impl<S: Into<Scalar>> From<S> for LinearCombination
[src]
fn from(s: S) -> LinearCombination
[src]
impl From<Variable> for LinearCombination
[src]
fn from(v: Variable) -> LinearCombination
[src]
impl<'a> FromIterator<&'a (Variable, Scalar)> for LinearCombination
[src]
impl FromIterator<(Variable, Scalar)> for LinearCombination
[src]
impl Mul<LinearCombination> for Scalar
[src]
type Output = LinearCombination
The resulting type after applying the *
operator.
fn mul(self, other: LinearCombination) -> Self::Output
[src]
impl<S: Into<Scalar>> Mul<S> for LinearCombination
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: S) -> Self::Output
[src]
impl Neg for LinearCombination
[src]
type Output = Self
The resulting type after applying the -
operator.
fn neg(self) -> Self::Output
[src]
impl PartialEq<LinearCombination> for LinearCombination
[src]
fn eq(&self, other: &LinearCombination) -> bool
[src]
fn ne(&self, other: &LinearCombination) -> bool
[src]
impl StructuralPartialEq for LinearCombination
[src]
impl<L: Into<LinearCombination>> Sub<L> for LinearCombination
[src]
Auto Trait Implementations
impl RefUnwindSafe for LinearCombination
impl Send for LinearCombination
impl Sync for LinearCombination
impl Unpin for LinearCombination
impl UnwindSafe for LinearCombination
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> Clear for T where
T: InitializableFromZeroed + ?Sized,
T: InitializableFromZeroed + ?Sized,
fn clear(&mut self)
impl<T> From<T> for T
[src]
impl<T> InitializableFromZeroed for T where
T: Default,
T: Default,
unsafe fn initialize(place: *mut T)
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
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, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
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>,