pub struct FieldNode {
pub access: u16,
pub name: StrRef,
pub desc: DescriptorRef,
pub signature: Option<StrRef>,
pub value: Option<FieldInitialValue>,
pub annotations: Vec<AnnotationNode>,
pub type_annotations: Vec<TypeAnnotationNode>,
pub attrs: Vec<UnknownAttribute>,
}Fields§
§access: u16The field’s access flags (see Opcodes).
name: StrRefThe field’s name.
desc: DescriptorRefThe field’s descriptor (see [Type::get_descriptor]).
signature: Option<StrRef>The field’s signature. May be None.
value: Option<FieldInitialValue>The field’s initial value. This field, which may be None if the field does not have an initial value, must be an Integer, a Float, a Long, a Double or a String.
annotations: Vec<AnnotationNode>§type_annotations: Vec<TypeAnnotationNode>§attrs: Vec<UnknownAttribute>The non-standard attributes of this field.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FieldNode
impl RefUnwindSafe for FieldNode
impl Send for FieldNode
impl Sync for FieldNode
impl Unpin for FieldNode
impl UnwindSafe for FieldNode
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