pub enum InstructionOperand<'a> {
Show 13 variants
None,
Immediate(i32),
Local(u16),
ConstantPool(ConstantPoolIndex),
Member(MemberReference<'a>),
InvokeInterface {
method: ConstantPoolIndex,
count: u8,
},
InvokeDynamic {
call_site: ConstantPoolIndex,
},
Branch {
relative: i32,
target: i32,
},
Ldc(LdcValueRef<'a>),
Increment {
local: u16,
amount: i16,
},
TableSwitch {
default: SwitchTarget,
low: i32,
high: i32,
targets: &'a [i32],
base_offset: ByteOffset,
},
LookupSwitch {
default: SwitchTarget,
pairs: &'a [(i32, i32)],
base_offset: ByteOffset,
},
MultiArray {
class: ConstantPoolIndex,
dimensions: u8,
},
}Variants§
None
Immediate(i32)
Local(u16)
ConstantPool(ConstantPoolIndex)
Member(MemberReference<'a>)
InvokeInterface
InvokeDynamic
Fields
§
call_site: ConstantPoolIndexBranch
Ldc(LdcValueRef<'a>)
Increment
TableSwitch
LookupSwitch
MultiArray
Trait Implementations§
Source§impl<'a> Clone for InstructionOperand<'a>
impl<'a> Clone for InstructionOperand<'a>
Source§fn clone(&self) -> InstructionOperand<'a>
fn clone(&self) -> InstructionOperand<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for InstructionOperand<'a>
Auto Trait Implementations§
impl<'a> Freeze for InstructionOperand<'a>
impl<'a> RefUnwindSafe for InstructionOperand<'a>
impl<'a> Send for InstructionOperand<'a>
impl<'a> Sync for InstructionOperand<'a>
impl<'a> Unpin for InstructionOperand<'a>
impl<'a> UnsafeUnpin for InstructionOperand<'a>
impl<'a> UnwindSafe for InstructionOperand<'a>
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