Struct snarkvm_circuit_program::TransactionLeaf
source · pub struct TransactionLeaf<A: Aleo> { /* private fields */ }Implementations§
Trait Implementations§
source§impl<A: Clone + Aleo> Clone for TransactionLeaf<A>
impl<A: Clone + Aleo> Clone for TransactionLeaf<A>
source§fn clone(&self) -> TransactionLeaf<A>
fn clone(&self) -> TransactionLeaf<A>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<A: Aleo> Eject for TransactionLeaf<A>
impl<A: Aleo> Eject for TransactionLeaf<A>
source§fn eject_mode(&self) -> Mode
fn eject_mode(&self) -> Mode
Ejects the mode of the transaction leaf.
source§fn eject_value(&self) -> Self::Primitive
fn eject_value(&self) -> Self::Primitive
Ejects the transaction leaf.
type Primitive = TransactionLeaf<<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.source§impl<A: Aleo> Inject for TransactionLeaf<A>
impl<A: Aleo> Inject for TransactionLeaf<A>
source§impl<A: Aleo> ToBits for TransactionLeaf<A>
impl<A: Aleo> ToBits for TransactionLeaf<A>
source§fn to_bits_le(&self) -> Vec<Self::Boolean>
fn to_bits_le(&self) -> Vec<Self::Boolean>
Outputs the little-endian bit representation of self without trailing zeros.
source§fn to_bits_be(&self) -> Vec<Self::Boolean>
fn to_bits_be(&self) -> Vec<Self::Boolean>
Outputs the big-endian bit representation of self without leading zeros.