pub enum ManagedInstruction {
CallMethod {
target: String,
method: String,
signature: GaiaSignature,
is_virtual: bool,
call_site_id: Option<u32>,
},
CallStatic {
target: String,
method: String,
signature: GaiaSignature,
},
Box(GaiaType),
Unbox(GaiaType),
InstanceOf(GaiaType),
CheckCast(GaiaType),
Initiate(usize),
Finalize,
}Expand description
Tier 1: 托管运行时指令 (类 JVM/CLR/Lua)
Variants§
CallMethod
调用方法 (对象类型, 方法名, 签名, 是否虚调用, IC 调用点 ID)
Fields
§
signature: GaiaSignatureCallStatic
调用静态方法
Box(GaiaType)
装箱
Unbox(GaiaType)
拆箱
InstanceOf(GaiaType)
运行时类型检查
CheckCast(GaiaType)
类型转换
Initiate(usize)
初始化对象 (参数数量)
Finalize
终结对象
Trait Implementations§
Source§impl Clone for ManagedInstruction
impl Clone for ManagedInstruction
Source§fn clone(&self) -> ManagedInstruction
fn clone(&self) -> ManagedInstruction
Returns a duplicate 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 Debug for ManagedInstruction
impl Debug for ManagedInstruction
Source§impl<'de> Deserialize<'de> for ManagedInstruction
impl<'de> Deserialize<'de> for ManagedInstruction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ManagedInstruction
impl PartialEq for ManagedInstruction
Source§impl Serialize for ManagedInstruction
impl Serialize for ManagedInstruction
impl StructuralPartialEq for ManagedInstruction
Auto Trait Implementations§
impl Freeze for ManagedInstruction
impl RefUnwindSafe for ManagedInstruction
impl Send for ManagedInstruction
impl Sync for ManagedInstruction
impl Unpin for ManagedInstruction
impl UnsafeUnpin for ManagedInstruction
impl UnwindSafe for ManagedInstruction
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