pub enum InsnNode {
Show 15 variants
FieldInsnNode {
opcode: u8,
owner: StrRef,
name: StrRef,
desc: StrRef,
},
IIncInsnNode {
var: u16,
incr: i16,
},
NoOperand {
opcode: u8,
},
BIPushInsnNode {
operand: i8,
},
SIPushInsnNode {
operand: i16,
},
InvokeDynamicInsnNode(ConstDynamic),
JumpInsnNode {
opcode: u8,
label: LabelNode,
},
LdcInsnNode(Rc<ConstValue>),
TableSwitchInsnNode {
default: LabelNode,
min: i32,
max: i32,
labels: Vec<LabelNode>,
},
LookupSwitchInsnNode {
default: LabelNode,
keys: Vec<i32>,
labels: Vec<LabelNode>,
},
MethodInsnNode {
opcode: u8,
owner: StrRef,
name: StrRef,
desc: StrRef,
},
NewArrayInsnNode {
array_type: u8,
},
MultiANewArrayInsnNode {
array_type: InternalNameRef,
dims: u8,
},
TypeInsnNode {
opcode: u8,
type_name: InternalNameRef,
},
VarInsnNode {
opcode: u8,
var_index: u16,
},
}Variants§
FieldInsnNode
IIncInsnNode
NoOperand
BIPushInsnNode
SIPushInsnNode
InvokeDynamicInsnNode(ConstDynamic)
JumpInsnNode
LdcInsnNode(Rc<ConstValue>)
TableSwitchInsnNode
LookupSwitchInsnNode
MethodInsnNode
NewArrayInsnNode
MultiANewArrayInsnNode
TypeInsnNode
VarInsnNode
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InsnNode
impl RefUnwindSafe for InsnNode
impl !Send for InsnNode
impl !Sync for InsnNode
impl Unpin for InsnNode
impl UnwindSafe for InsnNode
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