Skip to main content

InnerValue

Trait InnerValue 

Source
pub trait InnerValue: Clone + Debug {
    type Element: Clone + Debug;

    // Required method
    fn value(&self) -> Value<Self::Element>;
}
Expand description

Trait for accessing the value inside assigned circuit elements.

Required Associated Types§

Source

type Element: Clone + Debug

Represents the unassigned type corresponding to the InnerValue

Required Methods§

Source

fn value(&self) -> Value<Self::Element>

Returns the value of the assigned element.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T: InnerValue, const L: usize> InnerValue for [T; L]

Source§

type Element = [<T as InnerValue>::Element; L]

Source§

fn value(&self) -> Value<Self::Element>

Implementors§

Source§

impl<C: CircuitCurve> InnerValue for AssignedNativePoint<C>

Source§

impl<C: CircuitCurve> InnerValue for AssignedScalarOfNativeCurve<C>

Source§

impl<F, C, B> InnerValue for AssignedForeignEdwardsPoint<F, C, B>

Source§

impl<F, C, B> InnerValue for AssignedForeignPoint<F, C, B>

Source§

impl<F, K, P> InnerValue for AssignedField<F, K, P>

Source§

impl<F: CircuitField, const M: usize, T: Vectorizable, const A: usize> InnerValue for AssignedVector<F, T, M, A>

Source§

impl<F: CircuitField> InnerValue for AssignedBigUint<F>

Source§

impl<F: CircuitField> InnerValue for AssignedBit<F>

Source§

impl<F: CircuitField> InnerValue for AssignedBounded<F>

Source§

impl<F: CircuitField> InnerValue for AssignedByte<F>

Source§

impl<F: CircuitField> InnerValue for AssignedNative<F>

Source§

impl<S: SelfEmulation> InnerValue for AssignedAccumulator<S>

Source§

impl<S: SelfEmulation> InnerValue for AssignedMsm<S>

Source§

impl<S: SelfEmulation> InnerValue for AssignedVk<S>