pub struct Modifiers(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl Modifiers
impl Modifiers
pub const PUBLIC: u32 = 0x0001
pub const PRIVATE: u32 = 0x0002
pub const PROTECTED: u32 = 0x0004
pub const STATIC: u32 = 0x0008
pub const FINAL: u32 = 0x0010
pub const SYNCHRONIZED: u32 = 0x0020
pub const VOLATILE: u32 = 0x0040
pub const TRANSIENT: u32 = 0x0080
pub const NATIVE: u32 = 0x0100
pub const INTERFACE: u32 = 0x0200
pub const ABSTRACT: u32 = 0x0400
pub const STRICTFP: u32 = 0x0800
pub const SYNTHETIC: u32 = 0x1000
pub const ANNOTATION: u32 = 0x2000
pub const ENUM: u32 = 0x4000
pub const MODULE: u32 = 0x8000
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_abstract(&self) -> bool
Trait Implementations§
impl Eq for Modifiers
impl StructuralPartialEq for Modifiers
Auto Trait Implementations§
impl Freeze for Modifiers
impl RefUnwindSafe for Modifiers
impl Send for Modifiers
impl Sync for Modifiers
impl Unpin for Modifiers
impl UnsafeUnpin for Modifiers
impl UnwindSafe for Modifiers
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