pub struct DfgNode {
pub id: usize,
pub kind: DfgNodeKind,
pub reads: Vec<Handle<Expression>>,
pub writes: Vec<Handle<Expression>>,
}Expand description
A node in the dataflow graph representing a statement.
Fields§
§id: usizeUnique node identifier (index into the DFG node array).
kind: DfgNodeKindWhat kind of statement this node represents.
reads: Vec<Handle<Expression>>Expression handles read by this statement.
writes: Vec<Handle<Expression>>Expression handles written by this statement.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DfgNode
impl RefUnwindSafe for DfgNode
impl Send for DfgNode
impl Sync for DfgNode
impl Unpin for DfgNode
impl UnsafeUnpin for DfgNode
impl UnwindSafe for DfgNode
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