pub struct StubbedBlackBoxSolver;
Trait Implementations§
source§impl BlackBoxFunctionSolver for StubbedBlackBoxSolver
impl BlackBoxFunctionSolver for StubbedBlackBoxSolver
fn schnorr_verify( &self, _public_key_x: &FieldElement, _public_key_y: &FieldElement, _signature: &[u8; 64], _message: &[u8] ) -> Result<bool, BlackBoxResolutionError>
fn pedersen_commitment( &self, _inputs: &[FieldElement], _domain_separator: u32 ) -> Result<(FieldElement, FieldElement), BlackBoxResolutionError>
fn pedersen_hash( &self, _inputs: &[FieldElement], _domain_separator: u32 ) -> Result<FieldElement, BlackBoxResolutionError>
fn fixed_base_scalar_mul( &self, _low: &FieldElement, _high: &FieldElement ) -> Result<(FieldElement, FieldElement), BlackBoxResolutionError>
fn ec_add( &self, _input1_x: &FieldElement, _input1_y: &FieldElement, _input2_x: &FieldElement, _input2_y: &FieldElement ) -> Result<(FieldElement, FieldElement), BlackBoxResolutionError>
fn poseidon2_permutation( &self, _inputs: &[FieldElement], _len: u32 ) -> Result<Vec<FieldElement>, BlackBoxResolutionError>
Auto Trait Implementations§
impl Freeze for StubbedBlackBoxSolver
impl RefUnwindSafe for StubbedBlackBoxSolver
impl Send for StubbedBlackBoxSolver
impl Sync for StubbedBlackBoxSolver
impl Unpin for StubbedBlackBoxSolver
impl UnwindSafe for StubbedBlackBoxSolver
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> 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