Struct bellman::Variable [] [src]

pub struct Variable(_);

Represents a variable in our constraint system.

Methods

impl Variable
[src]

[src]

This constructs a variable with an arbitrary index. Circuit implementations are not recommended to use this.

[src]

This returns the index underlying the variable. Circuit implementations are not recommended to use this.

Trait Implementations

impl Copy for Variable
[src]

impl Clone for Variable
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Variable
[src]

[src]

Formats the value using the given formatter. Read more

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

The resulting type after applying the + operator.

[src]

Performs the + operation.

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

The resulting type after applying the - operator.

[src]

Performs the - operation.

Auto Trait Implementations

impl Send for Variable

impl Sync for Variable