pub struct SnapshotIterator<'a> { /* private fields */ }Expand description
opencoder.py: SnapshotIterator — iterates snapshot values in bottom-up frame order (inner frame first).
Implementations§
Source§impl<'a> SnapshotIterator<'a>
impl<'a> SnapshotIterator<'a>
pub fn new(storage: &'a SnapshotStorage, top_snapshot_idx: usize) -> Self
Sourcepub fn next_frame(&mut self) -> Option<&'a Snapshot>
pub fn next_frame(&mut self) -> Option<&'a Snapshot>
Move to the outer (caller) frame.
Sourcepub fn decode_value(&self, tagged: u32) -> DecodedSnapshotValue
pub fn decode_value(&self, tagged: u32) -> DecodedSnapshotValue
Decode a tagged value from the snapshot.
Auto Trait Implementations§
impl<'a> Freeze for SnapshotIterator<'a>
impl<'a> RefUnwindSafe for SnapshotIterator<'a>
impl<'a> Send for SnapshotIterator<'a>
impl<'a> Sync for SnapshotIterator<'a>
impl<'a> Unpin for SnapshotIterator<'a>
impl<'a> UnsafeUnpin for SnapshotIterator<'a>
impl<'a> UnwindSafe for SnapshotIterator<'a>
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