pub struct Field {
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 Field
impl Field
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_volatile(&self) -> bool
pub fn is_transient(&self) -> bool
pub fn is_synthetic(&self) -> bool
pub fn is_enum(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Field
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnwindSafe for Field
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