pub struct RefResult {
pub dex_name: String,
pub method_idx: u32,
pub method: String,
pub signature: String,
pub matched: Vec<Matched>,
pub relation: Option<ClassRelation>,
pub sites: Vec<RefSite>,
pub context: Option<String>,
}Expand description
One aggregated reference result: a method and what it references.
For a class relation query (Extends / Implements) the row is a class
instead: method_idx is its type index, method and signature its
descriptor, matched the target descriptor and relation is set.
Fields§
§dex_name: String§method_idx: u32§method: StringLcls;->name
signature: StringLcls;->name(params)ret
matched: Vec<Matched>The matched constants (strings, descriptors, members).
relation: Option<ClassRelation>Set for the rows of a class relation query.
sites: Vec<RefSite>The referencing instructions, in offset order (none for class relations).
context: Option<String>Smali around the sites, when asked for (RefContext).
Implementations§
Trait Implementations§
impl Eq for RefResult
impl StructuralPartialEq for RefResult
Auto Trait Implementations§
impl Forget for RefResult
impl Freeze for RefResult
impl Move for RefResult
impl RefUnwindSafe for RefResult
impl Send for RefResult
impl Sync for RefResult
impl Unpin for RefResult
impl UnsafeUnpin for RefResult
impl UnwindSafe for RefResult
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