Struct miden_processor::MemMastForestStore
source · pub struct MemMastForestStore { /* private fields */ }Expand description
A simple MastForestStore where all known MastForests are held in memory.
Implementations§
source§impl MemMastForestStore
impl MemMastForestStore
sourcepub fn insert(&mut self, mast_forest: MastForest)
pub fn insert(&mut self, mast_forest: MastForest)
Inserts all the procedures of the provided MAST forest in the store.
Trait Implementations§
source§impl Clone for MemMastForestStore
impl Clone for MemMastForestStore
source§fn clone(&self) -> MemMastForestStore
fn clone(&self) -> MemMastForestStore
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for MemMastForestStore
impl Debug for MemMastForestStore
source§impl Default for MemMastForestStore
impl Default for MemMastForestStore
source§fn default() -> MemMastForestStore
fn default() -> MemMastForestStore
Returns the “default value” for a type. Read more
source§impl MastForestStore for MemMastForestStore
impl MastForestStore for MemMastForestStore
source§fn get(&self, procedure_hash: &RpoDigest) -> Option<Arc<MastForest>>
fn get(&self, procedure_hash: &RpoDigest) -> Option<Arc<MastForest>>
Returns a
MastForest which is guaranteed to contain a procedure with the provided
procedure hash as one of its procedure, if any.Auto Trait Implementations§
impl Freeze for MemMastForestStore
impl RefUnwindSafe for MemMastForestStore
impl Send for MemMastForestStore
impl Sync for MemMastForestStore
impl Unpin for MemMastForestStore
impl UnwindSafe for MemMastForestStore
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)