Struct stack_graphs::graph::InternalScopeNode [−][src]
pub struct InternalScopeNode { pub id: NodeID, }
Expand description
A node internal to a single file. This node has no effect on the symbol or scope stacks; it’s just used to add structure to the graph.
Fields
id: NodeID
Expand description
The unique identifier for this node.
Implementations
impl InternalScopeNode
[src]
impl InternalScopeNode
[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<InternalScopeNode> for Node
[src]
impl From<InternalScopeNode> for Node
[src]fn from(node: InternalScopeNode) -> Node
[src]
fn from(node: InternalScopeNode) -> Node
[src]Performs the conversion.