pub struct ControlFlowGraph {
pub function: Function,
pub basic_blocks: Vec<BasicBlock>,
pub complexity: ComplexityMetrics,
pub loops: Vec<Loop>,
}
Expand description
Control flow graph
Fields§
§function: Function
Function information
basic_blocks: Vec<BasicBlock>
Basic blocks
complexity: ComplexityMetrics
Complexity metrics
loops: Vec<Loop>
Detected loops (enhanced analysis)
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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ControlFlowGraph
impl RefUnwindSafe for ControlFlowGraph
impl Send for ControlFlowGraph
impl Sync for ControlFlowGraph
impl Unpin 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