pub struct MethodVisitor { /* private fields */ }Implementations§
Source§impl MethodVisitor
impl MethodVisitor
pub fn visit_code(&mut self) -> &mut Self
pub fn visit_insn(&mut self, opcode: u8) -> &mut Self
pub fn visit_var_insn(&mut self, opcode: u8, var_index: u16) -> &mut Self
pub fn visit_field_insn( &mut self, opcode: u8, owner: &str, name: &str, descriptor: &str, ) -> &mut Self
pub fn visit_method_insn( &mut self, opcode: u8, owner: &str, name: &str, descriptor: &str, _is_interface: bool, ) -> &mut Self
pub fn visit_ldc_insn(&mut self, value: &str) -> &mut Self
pub fn visit_maxs(&mut self, max_stack: u16, max_locals: u16) -> &mut Self
pub fn visit_end(self, class: &mut ClassWriter)
Auto Trait Implementations§
impl Freeze for MethodVisitor
impl RefUnwindSafe for MethodVisitor
impl Send for MethodVisitor
impl Sync for MethodVisitor
impl Unpin for MethodVisitor
impl UnsafeUnpin for MethodVisitor
impl UnwindSafe for MethodVisitor
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