pub struct FieldFlags(/* private fields */);Expand description
https://docs.oracle.com/javase/specs/jvms/se25/html/jvms-4.html#jvms-4.5-200-A.1 Table 4.5-A. Field access and property flags
Implementations§
Source§impl FieldFlags
impl FieldFlags
pub fn new(value: u16) -> Self
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
pub fn get_raw(&self) -> &u16
Trait Implementations§
Source§impl Clone for FieldFlags
impl Clone for FieldFlags
impl Copy for FieldFlags
Auto Trait Implementations§
impl Freeze for FieldFlags
impl RefUnwindSafe for FieldFlags
impl Send for FieldFlags
impl Sync for FieldFlags
impl Unpin for FieldFlags
impl UnsafeUnpin for FieldFlags
impl UnwindSafe for FieldFlags
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