pub struct MirCall {
pub caller: String,
pub callee: String,
pub mir_line: usize,
}Expand description
One direct call sighting extracted from a MIR artifact. 从 MIR artifact 中提取到的一条直接调用观测。
Fields§
§caller: StringFunction symbol the call appears in. 调用所在的函数符号。
callee: StringFunction symbol being called. 被调用的函数符号。
mir_line: usize1-based position of this record within the parsed MIR, not a source line. 该记录在已解析 MIR 内以 1 起始的位置,不是源码行号。
Trait Implementations§
impl Eq for MirCall
impl StructuralPartialEq for MirCall
Auto Trait Implementations§
impl Freeze for MirCall
impl RefUnwindSafe for MirCall
impl Send for MirCall
impl Sync for MirCall
impl Unpin for MirCall
impl UnsafeUnpin for MirCall
impl UnwindSafe for MirCall
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