pub struct ProbeResult {
pub receiver: Option<Ty>,
pub members: Vec<Member>,
pub locals: Vec<(String, Ty)>,
}Expand description
What the probe found (spec §4.1, §4.2). Each part is empty when the probe’s place holds nothing of its kind.
Fields§
§receiver: Option<Ty>At a member access whose receiver ends before the offset and whose name ends at or after it: the receiver’s type.
members: Vec<Member>The receiver’s fields and methods.
locals: Vec<(String, Ty)>The locals in scope at the offset, innermost first, each name once.
Trait Implementations§
Source§impl Clone for ProbeResult
impl Clone for ProbeResult
Source§impl Debug for ProbeResult
impl Debug for ProbeResult
Source§impl Default for ProbeResult
impl Default for ProbeResult
Source§impl PartialEq for ProbeResult
impl PartialEq for ProbeResult
impl StructuralPartialEq for ProbeResult
Auto Trait Implementations§
impl Freeze for ProbeResult
impl RefUnwindSafe for ProbeResult
impl Send for ProbeResult
impl Sync for ProbeResult
impl Unpin for ProbeResult
impl UnsafeUnpin for ProbeResult
impl UnwindSafe for ProbeResult
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