[−][src]Struct jvm_hprof::heap_dump::Class
Analogous to a java.lang.Class
object.
A notable absence from this is the class name, which is available via crate::LoadClass records.
Implementations
impl<'a> Class<'a>
[src]
pub fn obj_id(&self) -> Id
[src]
pub fn stack_trace_serial(&self) -> Serial
[src]
pub fn super_class_obj_id(&self) -> Option<Id>
[src]
None
when there is no superclass, e.g. for java.lang.Object
.
pub fn class_loader_obj_id(&self) -> Option<Id>
[src]
pub fn signers_obj_id(&self) -> Option<Id>
[src]
pub fn protection_domain_obj_id(&self) -> Option<Id>
[src]
pub fn instance_size_bytes(&self) -> u32
[src]
impl<'a> Class<'a>
[src]
pub fn static_fields(&self) -> StaticFieldEntries<'_>ⓘNotable traits for StaticFieldEntries<'a>
impl<'a> Iterator for StaticFieldEntries<'a> type Item = Result<StaticFieldEntry, Err<(&'a [u8], ErrorKind)>>;
[src]
Notable traits for StaticFieldEntries<'a>
impl<'a> Iterator for StaticFieldEntries<'a> type Item = Result<StaticFieldEntry, Err<(&'a [u8], ErrorKind)>>;
Iterate over StaticFieldEntry data.
pub fn instance_field_descriptors(&self) -> FieldDescriptors<'_>ⓘNotable traits for FieldDescriptors<'a>
impl<'a> Iterator for FieldDescriptors<'a> type Item = Result<FieldDescriptor, Err<(&'a [u8], ErrorKind)>>;
[src]
Notable traits for FieldDescriptors<'a>
impl<'a> Iterator for FieldDescriptors<'a> type Item = Result<FieldDescriptor, Err<(&'a [u8], ErrorKind)>>;
Iterate over FieldDescriptor data.
Contains only the instance fields defined in this class, not in superclasses.
An object's fields are serialized with the concrete type's fields first, then that class's superclass, and so forth, up to the root of the hierarchy.
Auto Trait Implementations
impl<'a> RefUnwindSafe for Class<'a>
[src]
impl<'a> Send for Class<'a>
[src]
impl<'a> Sync for Class<'a>
[src]
impl<'a> Unpin for Class<'a>
[src]
impl<'a> UnwindSafe for Class<'a>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,