Struct snarkvm_circuit::environment::AssignmentLC
source · pub struct AssignmentLC<F>where
F: PrimeField,{ /* private fields */ }
Implementations§
source§impl<F> AssignmentLC<F>where
F: PrimeField,
impl<F> AssignmentLC<F>where F: PrimeField,
sourcepub const fn terms(&self) -> &IndexMap<AssignmentVariable<F>, F, RandomState>
pub const fn terms(&self) -> &IndexMap<AssignmentVariable<F>, F, RandomState>
Returns the terms of the linear combination.
Trait Implementations§
source§impl<F> Clone for AssignmentLC<F>where
F: Clone + PrimeField,
impl<F> Clone for AssignmentLC<F>where F: Clone + PrimeField,
source§fn clone(&self) -> AssignmentLC<F>
fn clone(&self) -> AssignmentLC<F>
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<F> Debug for AssignmentLC<F>where
F: Debug + PrimeField,
impl<F> Debug for AssignmentLC<F>where F: Debug + PrimeField,
source§impl<F> From<&LinearCombination<F>> for AssignmentLC<F>where
F: PrimeField,
impl<F> From<&LinearCombination<F>> for AssignmentLC<F>where F: PrimeField,
source§fn from(lc: &LinearCombination<F>) -> AssignmentLC<F>
fn from(lc: &LinearCombination<F>) -> AssignmentLC<F>
Converts a linear combination to an assignment linear combination.
Auto Trait Implementations§
impl<F> RefUnwindSafe for AssignmentLC<F>where F: RefUnwindSafe,
impl<F> Send for AssignmentLC<F>
impl<F> Sync for AssignmentLC<F>
impl<F> Unpin for AssignmentLC<F>where F: Unpin,
impl<F> UnwindSafe for AssignmentLC<F>where F: UnwindSafe,
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