pub struct ControlFlowGraph {
pub use_defs: DenseHashMap<*mut AstExpr, *mut Definition>,
pub blocks: Vec<BlockId>,
pub entry_idx: usize,
/* private fields */
}Fields§
§use_defs: DenseHashMap<*mut AstExpr, *mut Definition>§blocks: Vec<BlockId>§entry_idx: usizeImplementations§
Source§impl ControlFlowGraph
impl ControlFlowGraph
pub fn control_flow_graph(allocator: *mut CfgAllocator) -> Self
Trait Implementations§
Source§impl Clone for ControlFlowGraph
impl Clone for ControlFlowGraph
Source§fn clone(&self) -> ControlFlowGraph
fn clone(&self) -> ControlFlowGraph
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ControlFlowGraph
impl Debug for ControlFlowGraph
impl Send for ControlFlowGraph
impl Sync for ControlFlowGraph
Auto Trait Implementations§
impl Freeze for ControlFlowGraph
impl RefUnwindSafe for ControlFlowGraph
impl Unpin for ControlFlowGraph
impl UnsafeUnpin for ControlFlowGraph
impl UnwindSafe for ControlFlowGraph
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