Enum snarkvm_circuit_program::Value
source · pub enum Value<A: Aleo> {
Plaintext(Plaintext<A>),
Record(Record<A, Plaintext<A>>),
}Variants§
Implementations§
Trait Implementations§
source§impl<A: Aleo> Eject for Value<A>
impl<A: Aleo> Eject for Value<A>
source§fn eject_mode(&self) -> Mode
fn eject_mode(&self) -> Mode
Ejects the mode of the circuit value.
source§fn eject_value(&self) -> Self::Primitive
fn eject_value(&self) -> Self::Primitive
Ejects the circuit value.
type Primitive = Value<<A as Environment>::Network>
§fn is_constant(&self) -> bool
fn is_constant(&self) -> bool
Returns
true if the circuit is a constant.§fn is_private(&self) -> bool
fn is_private(&self) -> bool
Returns
true if the circuit is a private.