pub enum ClrInstructionOperand {
Int32(i32),
Int64(i64),
Float32(f32),
Float64(f64),
String(String),
Type(ClrTypeReference),
Method(String, Option<String>, Vec<ClrTypeReference>, Box<ClrTypeReference>),
Field(String, Option<String>, Box<ClrTypeReference>),
Branch(i32),
Switch(Vec<i32>),
}Expand description
CLR 指令操作数
Variants§
Int32(i32)
Int64(i64)
Float32(f32)
Float64(f64)
String(String)
Type(ClrTypeReference)
Method(String, Option<String>, Vec<ClrTypeReference>, Box<ClrTypeReference>)
Field(String, Option<String>, Box<ClrTypeReference>)
Branch(i32)
Switch(Vec<i32>)
Trait Implementations§
Source§impl Clone for ClrInstructionOperand
impl Clone for ClrInstructionOperand
Source§fn clone(&self) -> ClrInstructionOperand
fn clone(&self) -> ClrInstructionOperand
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 ClrInstructionOperand
impl Debug for ClrInstructionOperand
Source§impl PartialEq for ClrInstructionOperand
impl PartialEq for ClrInstructionOperand
impl StructuralPartialEq for ClrInstructionOperand
Auto Trait Implementations§
impl Freeze for ClrInstructionOperand
impl RefUnwindSafe for ClrInstructionOperand
impl Send for ClrInstructionOperand
impl Sync for ClrInstructionOperand
impl Unpin for ClrInstructionOperand
impl UnsafeUnpin for ClrInstructionOperand
impl UnwindSafe for ClrInstructionOperand
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