pub struct ShadowedAlgorithm<T: Algorithm + 'static> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<T> RustShadow for ShadowedAlgorithm<T>where
T: Algorithm + 'static,
impl<T> RustShadow for ShadowedAlgorithm<T>where
T: Algorithm + 'static,
fn inner(&self) -> Rc<RefCell<dyn BasicSnippet>>
fn rust_shadow_wrapper( &self, _stdin: &[BFieldElement], nondeterminism: &NonDeterminism, stack: &mut Vec<BFieldElement>, memory: &mut HashMap<BFieldElement, BFieldElement>, _sponge: &mut Option<VmHasher>, ) -> Vec<BFieldElement>
fn test(&self)
fn bench(&self)
Auto Trait Implementations§
impl<T> Freeze for ShadowedAlgorithm<T>
impl<T> !RefUnwindSafe for ShadowedAlgorithm<T>
impl<T> !Send for ShadowedAlgorithm<T>
impl<T> !Sync for ShadowedAlgorithm<T>
impl<T> Unpin for ShadowedAlgorithm<T>
impl<T> !UnwindSafe for ShadowedAlgorithm<T>
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