struct StackFrame<'i> {
pub pc: Pc,
pub registers: RegisterMap,
pub func_name: String,
pub func_def: &'i FunctionDefinition,
}
Fields§
§pc: Pc
§registers: RegisterMap
§func_name: String
§func_def: &'i FunctionDefinition
Implementations§
Source§impl<'i> StackFrame<'i>
impl<'i> StackFrame<'i>
fn new( bid: BlockId, func_name: String, func_def: &'i FunctionDefinition, ) -> Self
Trait Implementations§
Source§impl<'i> Clone for StackFrame<'i>
impl<'i> Clone for StackFrame<'i>
Source§fn clone(&self) -> StackFrame<'i>
fn clone(&self) -> StackFrame<'i>
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<'i> Debug for StackFrame<'i>
impl<'i> Debug for StackFrame<'i>
Source§impl<'i> PartialEq for StackFrame<'i>
impl<'i> PartialEq for StackFrame<'i>
impl<'i> StructuralPartialEq for StackFrame<'i>
Auto Trait Implementations§
impl<'i> Freeze for StackFrame<'i>
impl<'i> RefUnwindSafe for StackFrame<'i>
impl<'i> Send for StackFrame<'i>
impl<'i> Sync for StackFrame<'i>
impl<'i> Unpin for StackFrame<'i>
impl<'i> UnwindSafe for StackFrame<'i>
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more