[][src]Struct bellman_ce::LinearCombination

pub struct LinearCombination<E: Engine>(_);

This represents a linear combination of some variables, with coefficients in the scalar field of a pairing-friendly elliptic curve group.

Methods

impl<E: Engine> LinearCombination<E>[src]

Trait Implementations

impl<E: Engine> AsRef<[(Variable, <E as ScalarEngine>::Fr)]> for LinearCombination<E>[src]

impl<E: Clone + Engine> Clone for LinearCombination<E> where
    E::Fr: Clone
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<E: Engine> Sub<(<E as ScalarEngine>::Fr, Variable)> for LinearCombination<E>[src]

type Output = LinearCombination<E>

The resulting type after applying the - operator.

impl<E: Engine> Sub<Variable> for LinearCombination<E>[src]

type Output = LinearCombination<E>

The resulting type after applying the - operator.

impl<'a, E: Engine> Sub<&'a LinearCombination<E>> for LinearCombination<E>[src]

type Output = LinearCombination<E>

The resulting type after applying the - operator.

impl<'a, E: Engine> Sub<(<E as ScalarEngine>::Fr, &'a LinearCombination<E>)> for LinearCombination<E>[src]

type Output = LinearCombination<E>

The resulting type after applying the - operator.

impl<E: Engine> Add<(<E as ScalarEngine>::Fr, Variable)> for LinearCombination<E>[src]

type Output = LinearCombination<E>

The resulting type after applying the + operator.

impl<E: Engine> Add<Variable> for LinearCombination<E>[src]

type Output = LinearCombination<E>

The resulting type after applying the + operator.

impl<'a, E: Engine> Add<&'a LinearCombination<E>> for LinearCombination<E>[src]

type Output = LinearCombination<E>

The resulting type after applying the + operator.

impl<'a, E: Engine> Add<(<E as ScalarEngine>::Fr, &'a LinearCombination<E>)> for LinearCombination<E>[src]

type Output = LinearCombination<E>

The resulting type after applying the + operator.

Auto Trait Implementations

impl<E> Send for LinearCombination<E> where
    <E as ScalarEngine>::Fr: Send

impl<E> Sync for LinearCombination<E> where
    <E as ScalarEngine>::Fr: Sync

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.