pub struct DummyElem<F>(/* private fields */);Expand description
A dummy field element for OracleSetupChannel, generic over the field F it stands in for.
The setup channel performs no real verification, so the field values flowing through it are
never inspected. DummyElem<F> is a zero-sized stand-in whose arithmetic is all no-ops; the
PhantomData<F> lets it satisfy FieldOps<Scalar = F> without doing (pointless) real field
arithmetic during the structural dry run.
Trait Implementations§
Source§impl<F> AddAssign for DummyElem<F>
impl<F> AddAssign for DummyElem<F>
Source§fn add_assign(&mut self, _rhs: Self)
fn add_assign(&mut self, _rhs: Self)
Performs the
+= operation. Read moreSource§impl<F> AddAssign<&DummyElem<F>> for DummyElem<F>
impl<F> AddAssign<&DummyElem<F>> for DummyElem<F>
Source§fn add_assign(&mut self, _rhs: &Self)
fn add_assign(&mut self, _rhs: &Self)
Performs the
+= operation. Read moreimpl<F: Copy> Copy for DummyElem<F>
impl<F: Eq> Eq for DummyElem<F>
Source§impl<F: Field> FieldOps for DummyElem<F>
impl<F: Field> FieldOps for DummyElem<F>
type Scalar = F
Source§fn square_transpose<FSub: Field>(_elems: &mut [Self])where
F: ExtensionField<FSub>,
fn square_transpose<FSub: Field>(_elems: &mut [Self])where
F: ExtensionField<FSub>,
Transpose the subfield elements in a slice of field elements. Read more
Source§impl<F> InvertOrZero for DummyElem<F>
impl<F> InvertOrZero for DummyElem<F>
Source§impl<F> MulAssign for DummyElem<F>
impl<F> MulAssign for DummyElem<F>
Source§fn mul_assign(&mut self, _rhs: Self)
fn mul_assign(&mut self, _rhs: Self)
Performs the
*= operation. Read moreSource§impl<F> MulAssign<&DummyElem<F>> for DummyElem<F>
impl<F> MulAssign<&DummyElem<F>> for DummyElem<F>
Source§fn mul_assign(&mut self, _rhs: &Self)
fn mul_assign(&mut self, _rhs: &Self)
Performs the
*= operation. Read moreSource§impl<F: PartialEq> PartialEq for DummyElem<F>
impl<F: PartialEq> PartialEq for DummyElem<F>
impl<F: PartialEq> StructuralPartialEq for DummyElem<F>
Source§impl<F> SubAssign for DummyElem<F>
impl<F> SubAssign for DummyElem<F>
Source§fn sub_assign(&mut self, _rhs: Self)
fn sub_assign(&mut self, _rhs: Self)
Performs the
-= operation. Read moreSource§impl<F> SubAssign<&DummyElem<F>> for DummyElem<F>
impl<F> SubAssign<&DummyElem<F>> for DummyElem<F>
Source§fn sub_assign(&mut self, _rhs: &Self)
fn sub_assign(&mut self, _rhs: &Self)
Performs the
-= operation. Read moreAuto Trait Implementations§
impl<F> Freeze for DummyElem<F>
impl<F> RefUnwindSafe for DummyElem<F>where
F: RefUnwindSafe,
impl<F> Send for DummyElem<F>where
F: Send,
impl<F> Sync for DummyElem<F>where
F: Sync,
impl<F> Unpin for DummyElem<F>where
F: Unpin,
impl<F> UnsafeUnpin for DummyElem<F>
impl<F> UnwindSafe for DummyElem<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
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