Type Alias BrowserMirNode

Source
pub type BrowserMirNode = BrowserGraphNode;
Expand description

A single browser MIR graph node.

Aliased Type§

struct BrowserMirNode {
    pub id: String,
    pub kind: String,
    pub summary: Option<String>,
    pub category: &'static str,
    pub construct_id: Option<&'static str>,
    pub details: Vec<String>,
}

Fields§

§id: String

Stable synthetic node id.

§kind: String

Primary node kind shown in the viewer.

§summary: Option<String>

Optional short summary rendered under the node kind.

§category: &'static str

Viewer category used for node styling.

§construct_id: Option<&'static str>

Optional help-construct id used to attach docs and guidance.

§details: Vec<String>

Supplemental detail lines shown in the inspector.