pub struct ShadowedClosure<C: Closure> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<C: Closure> RustShadow for ShadowedClosure<C>
impl<C: Closure> RustShadow for ShadowedClosure<C>
fn inner(&self) -> &dyn BasicSnippet
fn rust_shadow_wrapper( &self, _stdin: &[BFieldElement], _nondeterminism: &NonDeterminism, stack: &mut Vec<BFieldElement>, _memory: &mut HashMap<BFieldElement, BFieldElement>, _sponge: &mut Option<Tip5>, ) -> Vec<BFieldElement>
fn test(&self)
fn bench(&self)
Auto Trait Implementations§
impl<C> Freeze for ShadowedClosure<C>where
C: Freeze,
impl<C> RefUnwindSafe for ShadowedClosure<C>where
C: RefUnwindSafe,
impl<C> Send for ShadowedClosure<C>where
C: Send,
impl<C> Sync for ShadowedClosure<C>where
C: Sync,
impl<C> Unpin for ShadowedClosure<C>where
C: Unpin,
impl<C> UnwindSafe for ShadowedClosure<C>where
C: 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> 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