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 instruction operand
Variants§
Int32(i32)
32-bit integer
Int64(i64)
64-bit integer
Float32(f32)
32-bit floating point
Float64(f64)
64-bit floating point
String(String)
String value
Type(ClrTypeReference)
Type reference
Method(String, Option<String>, Vec<ClrTypeReference>, Box<ClrTypeReference>)
Method reference (name, class, params, return)
Field(String, Option<String>, Box<ClrTypeReference>)
Field reference (name, class, type)
Branch(i32)
Branch offset
Switch(Vec<i32>)
Multiple branch offsets
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