pub enum Insn {
Show 14 variants
Simple(InsnNode),
Int(IntInsnNode),
Var(VarInsnNode),
Type(TypeInsnNode),
Field(FieldInsnNode),
Method(MethodInsnNode),
InvokeInterface(InvokeInterfaceInsnNode),
InvokeDynamic(InvokeDynamicInsnNode),
Jump(JumpInsnNode),
Ldc(LdcInsnNode),
Iinc(IincInsnNode),
TableSwitch(TableSwitchInsnNode),
LookupSwitch(LookupSwitchInsnNode),
MultiANewArray(MultiANewArrayInsnNode),
}Variants§
Simple(InsnNode)
Int(IntInsnNode)
Var(VarInsnNode)
Type(TypeInsnNode)
Field(FieldInsnNode)
Method(MethodInsnNode)
InvokeInterface(InvokeInterfaceInsnNode)
InvokeDynamic(InvokeDynamicInsnNode)
Jump(JumpInsnNode)
Ldc(LdcInsnNode)
Iinc(IincInsnNode)
TableSwitch(TableSwitchInsnNode)
LookupSwitch(LookupSwitchInsnNode)
MultiANewArray(MultiANewArrayInsnNode)
Trait Implementations§
Source§impl From<FieldInsnNode> for Insn
impl From<FieldInsnNode> for Insn
Source§fn from(value: FieldInsnNode) -> Self
fn from(value: FieldInsnNode) -> Self
Converts to this type from the input type.
Source§impl From<IincInsnNode> for Insn
impl From<IincInsnNode> for Insn
Source§fn from(value: IincInsnNode) -> Self
fn from(value: IincInsnNode) -> Self
Converts to this type from the input type.
Source§impl From<Insn> for AbstractInsnNode
impl From<Insn> for AbstractInsnNode
Source§impl From<IntInsnNode> for Insn
impl From<IntInsnNode> for Insn
Source§fn from(value: IntInsnNode) -> Self
fn from(value: IntInsnNode) -> Self
Converts to this type from the input type.
Source§impl From<InvokeDynamicInsnNode> for Insn
impl From<InvokeDynamicInsnNode> for Insn
Source§fn from(value: InvokeDynamicInsnNode) -> Self
fn from(value: InvokeDynamicInsnNode) -> Self
Converts to this type from the input type.
Source§impl From<InvokeInterfaceInsnNode> for Insn
impl From<InvokeInterfaceInsnNode> for Insn
Source§fn from(value: InvokeInterfaceInsnNode) -> Self
fn from(value: InvokeInterfaceInsnNode) -> Self
Converts to this type from the input type.
Source§impl From<JumpInsnNode> for Insn
impl From<JumpInsnNode> for Insn
Source§fn from(value: JumpInsnNode) -> Self
fn from(value: JumpInsnNode) -> Self
Converts to this type from the input type.
Source§impl From<LdcInsnNode> for Insn
impl From<LdcInsnNode> for Insn
Source§fn from(value: LdcInsnNode) -> Self
fn from(value: LdcInsnNode) -> Self
Converts to this type from the input type.
Source§impl From<LookupSwitchInsnNode> for Insn
impl From<LookupSwitchInsnNode> for Insn
Source§fn from(value: LookupSwitchInsnNode) -> Self
fn from(value: LookupSwitchInsnNode) -> Self
Converts to this type from the input type.
Source§impl From<MethodInsnNode> for Insn
impl From<MethodInsnNode> for Insn
Source§fn from(value: MethodInsnNode) -> Self
fn from(value: MethodInsnNode) -> Self
Converts to this type from the input type.
Source§impl From<MultiANewArrayInsnNode> for Insn
impl From<MultiANewArrayInsnNode> for Insn
Source§fn from(value: MultiANewArrayInsnNode) -> Self
fn from(value: MultiANewArrayInsnNode) -> Self
Converts to this type from the input type.
Source§impl From<TableSwitchInsnNode> for Insn
impl From<TableSwitchInsnNode> for Insn
Source§fn from(value: TableSwitchInsnNode) -> Self
fn from(value: TableSwitchInsnNode) -> Self
Converts to this type from the input type.
Source§impl From<TypeInsnNode> for Insn
impl From<TypeInsnNode> for Insn
Source§fn from(value: TypeInsnNode) -> Self
fn from(value: TypeInsnNode) -> Self
Converts to this type from the input type.
Source§impl From<VarInsnNode> for Insn
impl From<VarInsnNode> for Insn
Source§fn from(value: VarInsnNode) -> Self
fn from(value: VarInsnNode) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Insn
impl RefUnwindSafe for Insn
impl Send for Insn
impl Sync for Insn
impl Unpin for Insn
impl UnsafeUnpin for Insn
impl UnwindSafe for Insn
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