#[non_exhaustive]pub struct HierarchyRow {
pub depth: usize,
pub parent: Option<usize>,
pub class: String,
pub relation: Option<ClassRelation>,
pub dex: Option<String>,
pub repeated: bool,
pub defines: Vec<String>,
}Expand description
One line of the tree, in depth-first order.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.depth: usize0 for the root.
parent: Option<usize>Index of the parent row (None for the root).
class: StringThe class descriptor.
relation: Option<ClassRelation>How the row relates to its parent row (extends / implements, from
the subclass’s side).
dex: Option<String>The DEX defining the class; None when the APK only references it.
repeated: boolShown again: expanded at another row.
defines: Vec<String>Signatures (name(params)ret) of the queried method this class defines.
Trait Implementations§
Source§impl Clone for HierarchyRow
impl Clone for HierarchyRow
Source§impl Debug for HierarchyRow
impl Debug for HierarchyRow
impl Eq for HierarchyRow
Source§impl PartialEq for HierarchyRow
impl PartialEq for HierarchyRow
impl StructuralPartialEq for HierarchyRow
Auto Trait Implementations§
impl Forget for HierarchyRow
impl Freeze for HierarchyRow
impl Move for HierarchyRow
impl RefUnwindSafe for HierarchyRow
impl Send for HierarchyRow
impl Sync for HierarchyRow
impl Unpin for HierarchyRow
impl UnsafeUnpin for HierarchyRow
impl UnwindSafe for HierarchyRow
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