[][src]Struct r1cs::Wire

pub struct Wire {
    pub index: u32,
}

A wire represents a witness element.

Fields

index: u32

Methods

impl Wire[src]

pub const ONE: Wire[src]

A special wire whose value is always set to 1. This is used to create Expressions with constant terms.

Trait Implementations

impl<F: Field> From<Wire> for Expression<F>[src]

impl<'_, F: Field> From<&'_ Wire> for Expression<F>[src]

impl Clone for Wire[src]

impl Copy for Wire[src]

impl Eq for Wire[src]

impl Ord for Wire[src]

impl PartialEq<Wire> for Wire[src]

impl PartialOrd<Wire> for Wire[src]

impl Display for Wire[src]

impl Debug for Wire[src]

impl Hash for Wire[src]

Auto Trait Implementations

impl Send for Wire

impl Sync for Wire

impl Unpin for Wire

impl UnwindSafe for Wire

impl RefUnwindSafe for Wire

Blanket Implementations

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

impl<T> From<T> for T[src]

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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