Struct som_interpreter_ast::frame::Frame
source · pub struct Frame {
pub kind: FrameKind,
pub bindings: HashMap<String, Value>,
}
Expand description
Represents a stack frame.
Fields§
§kind: FrameKind
This frame’s kind.
bindings: HashMap<String, Value>
The bindings within this frame.
Implementations§
source§impl Frame
impl Frame
sourcepub fn get_method_holder(&self) -> SOMRef<Class>
pub fn get_method_holder(&self) -> SOMRef<Class>
Get the holder for this current method.
sourcepub fn get_method_signature(&self) -> Interned
pub fn get_method_signature(&self) -> Interned
Get the signature of the current method.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Frame
impl !RefUnwindSafe for Frame
impl !Send for Frame
impl !Sync for Frame
impl Unpin for Frame
impl !UnwindSafe for Frame
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