pub enum ArithCircuitStep<F: Field> {
Add(usize, usize),
Mul(usize, usize),
Pow(usize, u64),
Const(F),
Var(usize),
}
Variants§
Trait Implementations§
Source§impl<F: Clone + Field> Clone for ArithCircuitStep<F>
impl<F: Clone + Field> Clone for ArithCircuitStep<F>
Source§fn clone(&self) -> ArithCircuitStep<F>
fn clone(&self) -> ArithCircuitStep<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: Field> Default for ArithCircuitStep<F>
impl<F: Field> Default for ArithCircuitStep<F>
Source§impl<F: Field + DeserializeBytes> DeserializeBytes for ArithCircuitStep<F>
impl<F: Field + DeserializeBytes> DeserializeBytes for ArithCircuitStep<F>
fn deserialize(
read_buf: impl Buf,
mode: SerializationMode,
) -> Result<Self, SerializationError>where
Self: Sized,
Source§impl<F: Field + SerializeBytes> SerializeBytes for ArithCircuitStep<F>
impl<F: Field + SerializeBytes> SerializeBytes for ArithCircuitStep<F>
fn serialize( &self, write_buf: impl BufMut, mode: SerializationMode, ) -> Result<(), SerializationError>
impl<F: Copy + Field> Copy for ArithCircuitStep<F>
impl<F: Eq + Field> Eq for ArithCircuitStep<F>
impl<F: Field> StructuralPartialEq for ArithCircuitStep<F>
Auto Trait Implementations§
impl<F> Freeze for ArithCircuitStep<F>
impl<F> RefUnwindSafe for ArithCircuitStep<F>
impl<F> Send for ArithCircuitStep<F>
impl<F> Sync for ArithCircuitStep<F>
impl<F> Unpin for ArithCircuitStep<F>
impl<F> UnwindSafe for ArithCircuitStep<F>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more