pub struct ClassDef {
pub class_idx: U32BasedSize,
pub access_flags: DUInt,
pub superclass_idx: U32BasedSize,
pub interfaces_off: DUInt,
pub source_file_idx: U32BasedSize,
pub annotations_off: DUInt,
pub class_data_off: DUInt,
pub static_values_off: DUInt,
}
Fields§
§class_idx: U32BasedSize
index into type_ids
access_flags: DUInt
§superclass_idx: U32BasedSize
index into type_ids
, or NO_INDEX if this class has no superclass
interfaces_off: DUInt
offset from the start of the file to the list of interfaces, or 0 if there are no interfaces for this class. Must be an offset of a TypeList structure.
source_file_idx: U32BasedSize
§annotations_off: DUInt
offset from the start of the file to the annotations_directory_item
or 0 if not present.
class_data_off: DUInt
offset from the start of the file to the ClassDataItem or 0 if not present.
static_values_off: DUInt
offset from the start of the file to the list of EncodedArray, or 0 if not present.
Same order of the static fields in the field_list
.
Implementations§
Trait Implementations§
impl Copy for ClassDef
impl Eq for ClassDef
impl StructuralPartialEq for ClassDef
Auto Trait Implementations§
impl Freeze for ClassDef
impl RefUnwindSafe for ClassDef
impl Send for ClassDef
impl Sync for ClassDef
impl Unpin for ClassDef
impl UnwindSafe for ClassDef
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