Struct stack_graphs::graph::ExportedScopeNode [−][src]
pub struct ExportedScopeNode {
pub id: NodeID,
}Expand description
A node that can be referred to on the scope stack, which allows “jump to” nodes in any other part of the graph can jump back here.
Fields
id: NodeIDExpand description
The unique identifier for this node.
Implementations
impl ExportedScopeNode[src]
impl ExportedScopeNode[src]pub fn add_to_graph(self, graph: &mut StackGraph) -> Option<Handle<Node>>[src]
pub fn add_to_graph(self, graph: &mut StackGraph) -> Option<Handle<Node>>[src]Adds the node to a stack graph.
pub fn display<'a>(&'a self, graph: &'a StackGraph) -> impl Display + 'a[src]
Trait Implementations
impl From<ExportedScopeNode> for Node[src]
impl From<ExportedScopeNode> for Node[src]fn from(node: ExportedScopeNode) -> Node[src]
fn from(node: ExportedScopeNode) -> Node[src]Performs the conversion.