pub struct PdgNode {
pub block: usize,
pub line: usize,
pub kind: String,
pub callee: String,
pub effects: Vec<String>,
pub guards: Vec<Guard>,
pub uses: Vec<usize>,
}Expand description
A point of interest in a function: a call with effects or a call of the crate’s own code, an await, or a return.
Fields§
§block: usize§line: usize§kind: Stringcall, await or return.
callee: StringThe callee, for a call.
effects: Vec<String>What the call does, as the summaries describe it (write file arg 0).
guards: Vec<Guard>§uses: Vec<usize>The calls (by block) whose results flow into this call’s arguments.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PdgNode
impl<'de> Deserialize<'de> for PdgNode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for PdgNode
impl Freeze for PdgNode
impl Move for PdgNode
impl RefUnwindSafe for PdgNode
impl Send for PdgNode
impl Sync for PdgNode
impl Unpin for PdgNode
impl UnsafeUnpin for PdgNode
impl UnwindSafe for PdgNode
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