Skip to main content

AssignedNative

Type Alias AssignedNative 

Source
pub type AssignedNative<F> = AssignedCell<F, F>;
Expand description

AssignedNative

Aliased Type§

pub struct AssignedNative<F> { /* private fields */ }

Trait Implementations§

Source§

impl<F: CircuitField> From<&AssignedByte<F>> for AssignedNative<F>

Source§

fn from(value: &AssignedByte<F>) -> Self

Converts to this type from the input type.
Source§

impl<F: CircuitField> From<AssignedBit<F>> for AssignedNative<F>

Source§

fn from(bit: AssignedBit<F>) -> Self

Converts to this type from the input type.
Source§

impl<F: CircuitField> From<AssignedByte<F>> for AssignedNative<F>

Source§

fn from(value: AssignedByte<F>) -> Self

Converts to this type from the input type.
Source§

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

Source§

fn inner_zero() -> F

The zero of Self::Element (additive identity).
Source§

fn inner_one() -> F

The unit of Self::Element (multiplicative identity and/or additive generator).
Source§

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

Source§

type Element = F

Represents the unassigned type corresponding to the InnerValue
Source§

fn value(&self) -> Value<F>

Returns the value of the assigned element.
Source§

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

Source§

fn as_public_input(element: &F) -> Vec<F>

This function is the off-circuit analog of crate::instructions::PublicInputInstructions::as_public_input.
Source§

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

Source§

const FILLER: F = F::ZERO

Value to fill the space in the buffer that is not occupied with vector data.