pub struct MethodShell {
pub access_flags: u16,
pub name_index: u16,
pub descriptor_index: u16,
pub attributes: Vec<AttributeShell>,
pub origin: Origin,
}Expand description
A raw method declaration whose indices have not been validated.
Fields§
§access_flags: u16Raw JVM method access flags.
name_index: u16Raw constant-pool index of the method name.
descriptor_index: u16Raw constant-pool index of the method descriptor.
attributes: Vec<AttributeShell>Ordered attribute spine.
origin: OriginSource span covering the declaration.
Trait Implementations§
Source§impl Clone for MethodShell
impl Clone for MethodShell
Source§fn clone(&self) -> MethodShell
fn clone(&self) -> MethodShell
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MethodShell
impl Debug for MethodShell
impl Eq for MethodShell
Source§impl PartialEq for MethodShell
impl PartialEq for MethodShell
impl StructuralPartialEq for MethodShell
Auto Trait Implementations§
impl Freeze for MethodShell
impl RefUnwindSafe for MethodShell
impl Send for MethodShell
impl Sync for MethodShell
impl Unpin for MethodShell
impl UnsafeUnpin for MethodShell
impl UnwindSafe for MethodShell
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