Struct snarkvm_circuit::TransitionLeaf
source · pub struct TransitionLeaf<A>where
A: Aleo,{ /* private fields */ }
Implementations
sourceimpl<A> TransitionLeaf<A>where
A: Aleo,
impl<A> TransitionLeaf<A>where
A: Aleo,
Trait Implementations
sourceimpl<A> Clone for TransitionLeaf<A>where
A: Clone + Aleo,
impl<A> Clone for TransitionLeaf<A>where
A: Clone + Aleo,
sourcefn clone(&self) -> TransitionLeaf<A>
fn clone(&self) -> TransitionLeaf<A>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<A> Eject for TransitionLeaf<A>where
A: Aleo,
impl<A> Eject for TransitionLeaf<A>where
A: Aleo,
sourcefn eject_mode(&self) -> Mode
fn eject_mode(&self) -> Mode
Ejects the mode of the transition leaf.
sourcefn eject_value(&self) -> <TransitionLeaf<A> as Eject>::Primitive
fn eject_value(&self) -> <TransitionLeaf<A> as Eject>::Primitive
Ejects the transition leaf.
type Primitive = TransitionLeaf<<A as Environment>::Network>
sourcefn eject(&self) -> (Mode, Self::Primitive)
fn eject(&self) -> (Mode, Self::Primitive)
Ejects the mode and primitive value of the circuit type. Read more
sourcefn is_constant(&self) -> bool
fn is_constant(&self) -> bool
Returns
true
if the circuit is a constant. Read moresourcefn is_private(&self) -> bool
fn is_private(&self) -> bool
Returns
true
if the circuit is a private. Read moresourceimpl<A> Inject for TransitionLeaf<A>where
A: Aleo,
impl<A> Inject for TransitionLeaf<A>where
A: Aleo,
sourcefn new(
mode: Mode,
transition_leaf: <TransitionLeaf<A> as Inject>::Primitive
) -> TransitionLeaf<A>
fn new(
mode: Mode,
transition_leaf: <TransitionLeaf<A> as Inject>::Primitive
) -> TransitionLeaf<A>
Initializes a new transition leaf circuit from a primitive.
type Primitive = TransitionLeaf<<A as Environment>::Network>
sourceimpl<A> ToBits for TransitionLeaf<A>where
A: Aleo,
impl<A> ToBits for TransitionLeaf<A>where
A: Aleo,
sourcefn to_bits_le(&self) -> Vec<<TransitionLeaf<A> as ToBits>::Boolean, Global> ⓘ
fn to_bits_le(&self) -> Vec<<TransitionLeaf<A> as ToBits>::Boolean, Global> ⓘ
Outputs the little-endian bit representation of self
without trailing zeros.
sourcefn to_bits_be(&self) -> Vec<<TransitionLeaf<A> as ToBits>::Boolean, Global> ⓘ
fn to_bits_be(&self) -> Vec<<TransitionLeaf<A> as ToBits>::Boolean, Global> ⓘ
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more