pub struct MethodFlags(/* private fields */);Expand description
https://docs.oracle.com/javase/specs/jvms/se25/html/jvms-4.html#jvms-4.6-200-A.1 Table 4.6-A. Method access and property flags
Implementations§
Source§impl MethodFlags
impl MethodFlags
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_synchronized(&self) -> bool
pub fn is_bridge(&self) -> bool
pub fn is_varargs(&self) -> bool
pub fn is_native(&self) -> bool
pub fn is_abstract(&self) -> bool
pub fn is_strict(&self) -> bool
pub fn is_synthetic(&self) -> bool
pub fn get_raw(&self) -> &u16
Trait Implementations§
Source§impl Clone for MethodFlags
impl Clone for MethodFlags
Source§fn clone(&self) -> MethodFlags
fn clone(&self) -> MethodFlags
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 moreimpl Copy for MethodFlags
Auto Trait Implementations§
impl Freeze for MethodFlags
impl RefUnwindSafe for MethodFlags
impl Send for MethodFlags
impl Sync for MethodFlags
impl Unpin for MethodFlags
impl UnsafeUnpin for MethodFlags
impl UnwindSafe for MethodFlags
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