pub enum AssignmentVariable<F>where
F: PrimeField,{
Constant(F),
Public(u64),
Private(u64),
}
Variants§
Trait Implementations§
source§impl<F> Clone for AssignmentVariable<F>where
F: Clone + PrimeField,
impl<F> Clone for AssignmentVariable<F>where F: Clone + PrimeField,
source§fn clone(&self) -> AssignmentVariable<F>
fn clone(&self) -> AssignmentVariable<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 AssignmentVariable<F>where
F: Debug + PrimeField,
impl<F> Debug for AssignmentVariable<F>where F: Debug + PrimeField,
source§impl<F> From<&Variable<F>> for AssignmentVariable<F>where
F: PrimeField,
impl<F> From<&Variable<F>> for AssignmentVariable<F>where F: PrimeField,
source§fn from(variable: &Variable<F>) -> AssignmentVariable<F>
fn from(variable: &Variable<F>) -> AssignmentVariable<F>
Converts a variable to an assignment variable.
source§impl<F> Hash for AssignmentVariable<F>where
F: Hash + PrimeField,
impl<F> Hash for AssignmentVariable<F>where F: Hash + PrimeField,
source§impl<F> PartialEq<AssignmentVariable<F>> for AssignmentVariable<F>where
F: PartialEq<F> + PrimeField,
impl<F> PartialEq<AssignmentVariable<F>> for AssignmentVariable<F>where F: PartialEq<F> + PrimeField,
source§fn eq(&self, other: &AssignmentVariable<F>) -> bool
fn eq(&self, other: &AssignmentVariable<F>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<F> Eq for AssignmentVariable<F>where F: Eq + PrimeField,
impl<F> StructuralEq for AssignmentVariable<F>where F: PrimeField,
impl<F> StructuralPartialEq for AssignmentVariable<F>where F: PrimeField,
Auto Trait Implementations§
impl<F> RefUnwindSafe for AssignmentVariable<F>where F: RefUnwindSafe,
impl<F> Send for AssignmentVariable<F>
impl<F> Sync for AssignmentVariable<F>
impl<F> Unpin for AssignmentVariable<F>where F: Unpin,
impl<F> UnwindSafe for AssignmentVariable<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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.