[][src]Struct storage_proofs::circuit::metric::MetricCS

pub struct MetricCS<E: Engine> { /* fields omitted */ }

Methods

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

pub fn new() -> Self[src]

pub fn num_constraints(&self) -> usize[src]

pub fn num_inputs(&self) -> usize[src]

pub fn pretty_print(&self) -> String[src]

Trait Implementations

impl<E: Engine> Default for MetricCS<E>[src]

impl<E: Engine> ConstraintSystem<E> for MetricCS<E>[src]

type Root = Self

Represents the type of the "root" of this constraint system so that nested namespaces can minimize indirection. Read more

fn one() -> Variable[src]

Return the "one" input variable

fn namespace<NR, N>(&'a mut self, name_fn: N) -> Namespace<'a, E, Self::Root> where
    N: FnOnce() -> NR,
    NR: Into<String>, 
[src]

Begin a namespace for this constraint system.

Auto Trait Implementations

impl<E> Unpin for MetricCS<E> where
    <E as ScalarEngine>::Fr: Unpin

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

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

impl<E> UnwindSafe for MetricCS<E> where
    <E as ScalarEngine>::Fr: UnwindSafe

impl<E> RefUnwindSafe for MetricCS<E> where
    <E as ScalarEngine>::Fr: RefUnwindSafe

Blanket Implementations

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

impl<T> From<T> for T[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]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,