pub struct ShadowedAccessor<T: Accessor + 'static> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<T> RustShadow for ShadowedAccessor<T>where
T: Accessor + 'static,
impl<T> RustShadow for ShadowedAccessor<T>where
T: Accessor + '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 ShadowedAccessor<T>
impl<T> !RefUnwindSafe for ShadowedAccessor<T>
impl<T> !Send for ShadowedAccessor<T>
impl<T> !Sync for ShadowedAccessor<T>
impl<T> Unpin for ShadowedAccessor<T>
impl<T> !UnwindSafe for ShadowedAccessor<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