pub struct Class {
pub flags: Flags,
pub path: IdBuf,
pub super_path: Option<IdBuf>,
pub interfaces: Vec<IdBuf>,
pub fields: Vec<Field>,
pub methods: Vec<Method>,
pub deprecated: bool,
}
Fields§
§flags: Flags
§path: IdBuf
§super_path: Option<IdBuf>
§interfaces: Vec<IdBuf>
§fields: Vec<Field>
§methods: Vec<Method>
§deprecated: bool
Implementations§
Source§impl Class
impl Class
Sourcepub fn read(read: &mut impl Read) -> Result<Self>
pub fn read(read: &mut impl Read) -> Result<Self>
Java SE 7 § 4: Read a class File.
pub fn is_public(&self) -> bool
pub fn is_static(&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
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Class
impl RefUnwindSafe for Class
impl Send for Class
impl Sync for Class
impl Unpin for Class
impl UnwindSafe for Class
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