pub struct FieldShell {
pub access_flags: u16,
pub name_index: u16,
pub descriptor_index: u16,
pub attributes: Vec<AttributeShell>,
pub origin: Origin,
}Expand description
A raw field declaration whose indices have not been validated.
Fields§
§access_flags: u16Raw JVM field access flags.
name_index: u16Raw constant-pool index of the field name.
descriptor_index: u16Raw constant-pool index of the field descriptor.
attributes: Vec<AttributeShell>Ordered attribute spine.
origin: OriginSource span covering the declaration.
Trait Implementations§
Source§impl Clone for FieldShell
impl Clone for FieldShell
Source§fn clone(&self) -> FieldShell
fn clone(&self) -> FieldShell
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 FieldShell
impl Debug for FieldShell
impl Eq for FieldShell
Source§impl PartialEq for FieldShell
impl PartialEq for FieldShell
impl StructuralPartialEq for FieldShell
Auto Trait Implementations§
impl Freeze for FieldShell
impl RefUnwindSafe for FieldShell
impl Send for FieldShell
impl Sync for FieldShell
impl Unpin for FieldShell
impl UnsafeUnpin for FieldShell
impl UnwindSafe for FieldShell
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