pub struct ReturnStack {
pub entries: Vec<u32>,
}Expand description
The return stack as the ROM left it.
Fields§
§entries: Vec<u32>The entries, top (most recent) first.
Implementations§
Source§impl ReturnStack
impl ReturnStack
Sourcepub fn read(
mem: &dyn Memory,
layout: &ScreenLayout,
) -> Result<Option<ReturnStack>, Error>
pub fn read( mem: &dyn Memory, layout: &ScreenLayout, ) -> Result<Option<ReturnStack>, Error>
Read it through layout; None when the pointers are not the
ROM’s.
Trait Implementations§
Source§impl Clone for ReturnStack
impl Clone for ReturnStack
Source§impl Debug for ReturnStack
impl Debug for ReturnStack
impl Eq for ReturnStack
Source§impl PartialEq for ReturnStack
impl PartialEq for ReturnStack
impl StructuralPartialEq for ReturnStack
Auto Trait Implementations§
impl Forget for ReturnStack
impl Freeze for ReturnStack
impl RefUnwindSafe for ReturnStack
impl Send for ReturnStack
impl Sync for ReturnStack
impl Unpin for ReturnStack
impl UnsafeUnpin for ReturnStack
impl UnwindSafe for ReturnStack
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