Trait StartNode

Source
pub trait StartNode: DirectedGraph {
    // Required method
    fn start_node(&self) -> Self::Node;
}

Required Methods§

Source

fn start_node(&self) -> Self::Node

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<'graph, G: StartNode> StartNode for &'graph G

Source§

fn start_node(&self) -> Self::Node

Implementors§

impl<'tcx> StartNode for BasicBlocks<'tcx>

impl<G> StartNode for BalancedFlowGraph<G>
where G: StartNode,