Enum fuel_vm::interpreter::InterpreterMetadata
source · [−]pub enum InterpreterMetadata {
IsCallerExternal,
GetCaller,
}
Expand description
Variants for the GM
VM instruction.
Variants
IsCallerExternal
Set $rA
to true
if call stack parent is an external context; false
otherwise.
GetCaller
Set $rA
to $fp
of the call stack parent.
Trait Implementations
sourceimpl Clone for InterpreterMetadata
impl Clone for InterpreterMetadata
sourcefn clone(&self) -> InterpreterMetadata
fn clone(&self) -> InterpreterMetadata
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InterpreterMetadata
impl Debug for InterpreterMetadata
sourceimpl From<InterpreterMetadata> for Immediate18
impl From<InterpreterMetadata> for Immediate18
sourcefn from(m: InterpreterMetadata) -> Immediate18
fn from(m: InterpreterMetadata) -> Immediate18
Converts to this type from the input type.
sourceimpl TryFrom<u32> for InterpreterMetadata
impl TryFrom<u32> for InterpreterMetadata
type Error = PanicReason
type Error = PanicReason
The type returned in the event of a conversion error.
sourcefn try_from(imm: Immediate18) -> Result<Self, Self::Error>
fn try_from(imm: Immediate18) -> Result<Self, Self::Error>
Performs the conversion.
impl Copy for InterpreterMetadata
impl Eq for InterpreterMetadata
impl StructuralEq for InterpreterMetadata
impl StructuralPartialEq for InterpreterMetadata
Auto Trait Implementations
impl RefUnwindSafe for InterpreterMetadata
impl Send for InterpreterMetadata
impl Sync for InterpreterMetadata
impl Unpin for InterpreterMetadata
impl UnwindSafe for InterpreterMetadata
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more