[][src]Struct snarkvm_models::gadgets::r1cs::Namespace

pub struct Namespace<'a, F: Field, CS: ConstraintSystem<F>>(_, _);

This is a "namespaced" constraint system which borrows a constraint system (pushing a namespace context) and, when dropped, pops out of the namespace context.

Trait Implementations

impl<F: Field, CS: ConstraintSystem<F>> ConstraintSystem<F> for Namespace<'_, F, CS>[src]

type Root = CS::Root

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

impl<F: Field, CS: ConstraintSystem<F>> Drop for Namespace<'_, F, CS>[src]

Auto Trait Implementations

impl<'a, F, CS> RefUnwindSafe for Namespace<'a, F, CS> where
    CS: RefUnwindSafe,
    F: RefUnwindSafe
[src]

impl<'a, F, CS> Send for Namespace<'a, F, CS> where
    CS: Send
[src]

impl<'a, F, CS> Sync for Namespace<'a, F, CS> where
    CS: Sync
[src]

impl<'a, F, CS> Unpin for Namespace<'a, F, CS> where
    F: Unpin
[src]

impl<'a, F, CS> !UnwindSafe for Namespace<'a, F, CS>[src]

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