Struct ark_relations::r1cs::Namespace[][src]

pub struct Namespace<F: Field> { /* fields omitted */ }

A namespaced ConstraintSystemRef.

Implementations

impl<F: Field> Namespace<F>[src]

pub fn new(inner: ConstraintSystemRef<F>, id: Option<Id>) -> Self[src]

Construct a new Namespace.

pub fn cs(&self) -> ConstraintSystemRef<F>[src]

Obtain the inner ConstraintSystemRef<F>.

pub fn leave_namespace(self)[src]

Manually leave the namespace.

Trait Implementations

impl<F: Clone + Field> Clone for Namespace<F>[src]

impl<F: Debug + Field> Debug for Namespace<F>[src]

impl<F: Field> Drop for Namespace<F>[src]

impl<F: Field> From<ConstraintSystemRef<F>> for Namespace<F>[src]

Auto Trait Implementations

impl<F> !Send for Namespace<F>

impl<F> !Sync for Namespace<F>

impl<F> Unpin for Namespace<F>

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,