pub struct ClassFlags(/* private fields */);Expand description
https://docs.oracle.com/javase/specs/jvms/se25/html/jvms-4.html#jvms-4.1-200-E.1 Table 4.1-B. Class access and property modifiers
Implementations§
Source§impl ClassFlags
impl ClassFlags
pub fn new(value: u16) -> Self
pub fn is_public(&self) -> bool
pub fn is_final(&self) -> bool
pub fn is_super(&self) -> bool
pub fn is_interface(&self) -> bool
pub fn is_abstract(&self) -> bool
pub fn is_synthetic(&self) -> bool
pub fn is_annotation(&self) -> bool
pub fn is_enum(&self) -> bool
pub fn is_module(&self) -> bool
pub fn get_raw(&self) -> &u16
pub fn get_raw_i32(&self) -> i32
Trait Implementations§
Source§impl Clone for ClassFlags
impl Clone for ClassFlags
Source§fn clone(&self) -> ClassFlags
fn clone(&self) -> ClassFlags
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 ClassFlags
Source§impl Debug for ClassFlags
impl Debug for ClassFlags
impl Eq for ClassFlags
Source§impl PartialEq for ClassFlags
impl PartialEq for ClassFlags
Source§fn eq(&self, other: &ClassFlags) -> bool
fn eq(&self, other: &ClassFlags) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClassFlags
Auto Trait Implementations§
impl Freeze for ClassFlags
impl RefUnwindSafe for ClassFlags
impl Send for ClassFlags
impl Sync for ClassFlags
impl Unpin for ClassFlags
impl UnsafeUnpin for ClassFlags
impl UnwindSafe for ClassFlags
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