#[non_exhaustive]pub struct ClassHit {
pub dex_name: String,
pub dex: DexBytes,
pub descriptor: String,
pub also_defined_in: Vec<String>,
}Expand description
A DEX (possibly one logical DEX of a 041 container) that defines a class.
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.dex_name: StringThe DEX entry name (classes2.dex, or a logical DEX of a container).
dex: DexBytesIts inflated bytes.
descriptor: StringThe descriptor of the class found: the one looked up, or the DEX
class a Java / Kotlin spelling of it stands for (Lcom/a/Outer/Inner;
→ Lcom/a/Outer$Inner;) when only that exists.
also_defined_in: Vec<String>In a program, the DEX files of other archives that define the class too (the hit is the first archive’s, in program order).
Trait Implementations§
Auto Trait Implementations§
impl Forget for ClassHit
impl Freeze for ClassHit
impl Move for ClassHit
impl RefUnwindSafe for ClassHit
impl Send for ClassHit
impl Sync for ClassHit
impl Unpin for ClassHit
impl UnsafeUnpin for ClassHit
impl UnwindSafe for ClassHit
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