[−][src]Enum bulletproofs::r1cs::linear_combination::Variable
Represents a variable in a constraint system.
Variants
Committed(usize)
Represents an external input specified by a commitment.
MultiplierLeft(usize)
Represents the left input of a multiplication gate.
MultiplierRight(usize)
Represents the right input of a multiplication gate.
MultiplierOutput(usize)
Represents the output of a multiplication gate.
Represents the constant 1.
Trait Implementations
impl<L: Into<LinearCombination>> Add<L> for Variable
[src]
type Output = LinearCombination
The resulting type after applying the +
operator.
fn add(self, other: L) -> Self::Output
[src]
impl Add<Variable> for Scalar
[src]
type Output = LinearCombination
The resulting type after applying the +
operator.
fn add(self, other: Variable) -> Self::Output
[src]
impl Clone for Variable
[src]
impl Copy for Variable
[src]
impl Debug for Variable
[src]
impl From<Variable> for LinearCombination
[src]
fn from(v: Variable) -> LinearCombination
[src]
impl<S: Into<Scalar>> Mul<S> for Variable
[src]
type Output = LinearCombination
The resulting type after applying the *
operator.
fn mul(self, other: S) -> Self::Output
[src]
impl Mul<Variable> for Scalar
[src]
type Output = LinearCombination
The resulting type after applying the *
operator.
fn mul(self, other: Variable) -> Self::Output
[src]
impl Neg for Variable
[src]
type Output = LinearCombination
The resulting type after applying the -
operator.
fn neg(self) -> Self::Output
[src]
impl PartialEq<Variable> for Variable
[src]
impl StructuralPartialEq for Variable
[src]
impl<L: Into<LinearCombination>> Sub<L> for Variable
[src]
type Output = LinearCombination
The resulting type after applying the -
operator.
fn sub(self, other: L) -> Self::Output
[src]
impl Sub<Variable> for Scalar
[src]
Auto Trait Implementations
impl RefUnwindSafe for Variable
impl Send for Variable
impl Sync for Variable
impl Unpin for Variable
impl UnwindSafe for Variable
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, U> Cast<U> for T where
U: FromCast<T>,
U: FromCast<T>,
fn cast(self) -> U
impl<T> From<T> for T
[src]
impl<T> FromBits<T> for T
fn from_bits(t: T) -> T
impl<T> FromCast<T> for T
fn from_cast(t: T) -> T
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> IntoBits<U> for T where
U: FromBits<T>,
U: FromBits<T>,
fn into_bits(self) -> U
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>,