pub struct Method<'a> { /* private fields */ }Implementations§
Source§impl<'a> Method<'a>
impl<'a> Method<'a>
pub fn access_flags(&self) -> u16
pub fn name(&self) -> &str
pub fn descriptor(&self) -> &str
pub fn has_code(&self) -> bool
pub fn max_stack(&self) -> u16
pub fn max_locals(&self) -> u16
pub fn instructions( &self, ) -> Option<impl ExactSizeIterator<Item = Instruction<'a>> + '_>
pub fn exception_handlers( &self, ) -> impl ExactSizeIterator<Item = ExceptionHandler<'a>> + '_
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Method<'a>
impl<'a> RefUnwindSafe for Method<'a>
impl<'a> Send for Method<'a>
impl<'a> Sync for Method<'a>
impl<'a> Unpin for Method<'a>
impl<'a> UnsafeUnpin for Method<'a>
impl<'a> UnwindSafe for Method<'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