Struct rustc::cfg::graphviz::LabelledCFG [] [src]

pub struct LabelledCFG<'a, 'hir: 'a> {
    pub hir_map: &'a Map<'hir>,
    pub cfg: &'a CFG,
    pub name: String,
    pub labelled_edges: bool,
}
🔬 This is a nightly-only experimental API. (rustc_private)

Fields

🔬 This is a nightly-only experimental API. (rustc_private)
🔬 This is a nightly-only experimental API. (rustc_private)
🔬 This is a nightly-only experimental API. (rustc_private)
🔬 This is a nightly-only experimental API. (rustc_private)

labelled_edges controls whether we emit labels on the edges

Trait Implementations

impl<'a, 'hir> Labeller<'a> for LabelledCFG<'a, 'hir>
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

🔬 This is a nightly-only experimental API. (rustc_private)

🔬 This is a nightly-only experimental API. (rustc_private)

Must return a DOT compatible identifier naming the graph.

🔬 This is a nightly-only experimental API. (rustc_private)

Maps n to a unique identifier with respect to self. The implementor is responsible for ensuring that the returned name is a valid DOT identifier. Read more

🔬 This is a nightly-only experimental API. (rustc_private)

Maps n to a label that will be used in the rendered output. The label need not be unique, and may be the empty string; the default is just the output from node_id. Read more

🔬 This is a nightly-only experimental API. (rustc_private)

Maps e to a label that will be used in the rendered output. The label need not be unique, and may be the empty string; the default is in fact the empty string. Read more

🔬 This is a nightly-only experimental API. (rustc_private)

Maps n to one of the [graphviz shape names][1]. If None is returned, no shape attribute is specified. Read more

🔬 This is a nightly-only experimental API. (rustc_private)

Maps n to a style that will be used in the rendered output.

🔬 This is a nightly-only experimental API. (rustc_private)

Maps e to a style that will be used in the rendered output.

impl<'a, 'hir> GraphWalk<'a> for LabelledCFG<'a, 'hir>
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

🔬 This is a nightly-only experimental API. (rustc_private)

🔬 This is a nightly-only experimental API. (rustc_private)

Returns all the nodes in this graph.

🔬 This is a nightly-only experimental API. (rustc_private)

Returns all of the edges in this graph.

🔬 This is a nightly-only experimental API. (rustc_private)

The source node for edge.

🔬 This is a nightly-only experimental API. (rustc_private)

The target node for edge.