#[non_exhaustive]pub struct RefSite {
pub offset: u32,
pub matched: usize,
pub field_access: Option<FieldAccess>,
pub pc: Option<u32>,
pub line: Option<u32>,
}Expand description
One instruction behind a RefResult.
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.offset: u32Absolute byte offset of the instruction in the DEX.
matched: usizeIndex into the row’s matched of the constant it references.
field_access: Option<FieldAccess>Whether this site reads or writes a field. None for other queries.
pc: Option<u32>Code units from the start of the method’s code (filled with a context).
line: Option<u32>Source line from the debug info (filled with a context, when known).
Trait Implementations§
impl Eq for RefSite
impl StructuralPartialEq for RefSite
Auto Trait Implementations§
impl Forget for RefSite
impl Freeze for RefSite
impl Move for RefSite
impl RefUnwindSafe for RefSite
impl Send for RefSite
impl Sync for RefSite
impl Unpin for RefSite
impl UnsafeUnpin for RefSite
impl UnwindSafe for RefSite
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