#[non_exhaustive]pub struct HierarchyQuery {
pub class: String,
pub direction: Lineage,
pub depth: usize,
pub max_nodes: usize,
pub method: Option<String>,
}Expand description
A hierarchy query.
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.class: StringDalvik descriptor (Lcom/poc/Base;).
direction: LineageWhether to walk down to subclasses or up to supertypes.
depth: usizeLevels to walk (1 = direct subclasses / supertypes).
max_nodes: usizeStop discovering classes beyond this many (the root included).
method: Option<String>Mark the classes that define this method: a name (every overload) or
exact name(params)ret.
Implementations§
Trait Implementations§
Source§impl Clone for HierarchyQuery
impl Clone for HierarchyQuery
Auto Trait Implementations§
impl Forget for HierarchyQuery
impl Freeze for HierarchyQuery
impl Move for HierarchyQuery
impl RefUnwindSafe for HierarchyQuery
impl Send for HierarchyQuery
impl Sync for HierarchyQuery
impl Unpin for HierarchyQuery
impl UnsafeUnpin for HierarchyQuery
impl UnwindSafe for HierarchyQuery
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