pub struct Method {
pub access_flags: u16,
pub name_index: u16,
pub descriptor_index: u16,
pub attributes: Vec<Attribute>,
}
Fields§
§access_flags: u16
§name_index: u16
§descriptor_index: u16
§attributes: Vec<Attribute>
Implementations§
Source§impl Method
impl Method
pub fn is_public(&self) -> bool
pub fn is_private(&self) -> bool
pub fn is_protected(&self) -> bool
pub fn is_static(&self) -> bool
pub fn is_final(&self) -> bool
pub fn is_synchronized(&self) -> bool
pub fn is_bridge(&self) -> bool
pub fn is_varargs(&self) -> bool
pub fn is_native(&self) -> bool
pub fn is_abstract(&self) -> bool
pub fn is_strict(&self) -> bool
pub fn is_synthetic(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Method
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnwindSafe for Method
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