Struct snarkvm_circuit_program::TransitionLeaf
source · pub struct TransitionLeaf<A: Aleo> { /* private fields */ }
Implementations§
source§impl<A: Aleo> TransitionLeaf<A>
impl<A: Aleo> TransitionLeaf<A>
Trait Implementations§
source§impl<A: Clone + Aleo> Clone for TransitionLeaf<A>
impl<A: Clone + Aleo> Clone for TransitionLeaf<A>
source§fn clone(&self) -> TransitionLeaf<A>
fn clone(&self) -> TransitionLeaf<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 TransitionLeaf<A>
impl<A: Aleo> Eject for TransitionLeaf<A>
source§fn eject_mode(&self) -> Mode
fn eject_mode(&self) -> Mode
Ejects the mode of the transition leaf.
source§fn eject_value(&self) -> Self::Primitive
fn eject_value(&self) -> Self::Primitive
Ejects the transition leaf.
type Primitive = TransitionLeaf<<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 TransitionLeaf<A>
impl<A: Aleo> Inject for TransitionLeaf<A>
source§impl<A: Aleo> ToBits for TransitionLeaf<A>
impl<A: Aleo> ToBits for TransitionLeaf<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.
type Boolean = Boolean<A>
Auto Trait Implementations§
impl<A> RefUnwindSafe for TransitionLeaf<A>where <A as Environment>::BaseField: UnwindSafe + RefUnwindSafe,
impl<A> !Send for TransitionLeaf<A>
impl<A> !Sync for TransitionLeaf<A>
impl<A> Unpin for TransitionLeaf<A>where <A as Environment>::BaseField: Unpin,
impl<A> UnwindSafe for TransitionLeaf<A>where <A as Environment>::BaseField: UnwindSafe + RefUnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more