Struct miden_processor::AdviceMap
source · pub struct AdviceMap(/* private fields */);Expand description
Defines a set of non-deterministic (advice) inputs which the VM can access by their keys.
Each key maps to one or more field element. To access the elements, the VM can move the values
associated with a given key onto the advice stack using adv.push_mapval instruction. The VM
can also insert new values into the advice map during execution.
Implementations§
Trait Implementations§
source§impl Extend<(RpoDigest, Vec<BaseElement>)> for AdviceMap
impl Extend<(RpoDigest, Vec<BaseElement>)> for AdviceMap
source§fn extend<T: IntoIterator<Item = (RpoDigest, Vec<Felt>)>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = (RpoDigest, Vec<Felt>)>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
source§impl IntoIterator for AdviceMap
impl IntoIterator for AdviceMap
Auto Trait Implementations§
impl RefUnwindSafe for AdviceMap
impl Send for AdviceMap
impl Sync for AdviceMap
impl Unpin for AdviceMap
impl UnwindSafe for AdviceMap
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