pub struct CfgNode {
pub id: usize,
pub label: Option<String>,
pub instructions: Vec<Instruction>,
pub successors: Vec<usize>,
pub predecessors: Vec<usize>,
}Expand description
Control Flow Graph node
Fields§
§id: usizeNode ID
label: Option<String>Label (if any)
instructions: Vec<Instruction>Instructions in this basic block
successors: Vec<usize>Successor node IDs
predecessors: Vec<usize>Predecessor node IDs
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CfgNode
impl RefUnwindSafe for CfgNode
impl Send for CfgNode
impl Sync for CfgNode
impl Unpin for CfgNode
impl UnsafeUnpin for CfgNode
impl UnwindSafe for CfgNode
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