6.5.5.3. Edges (Dependencies)¶
This section describes the types of edges that are extracted from Rust source code.
We list only those edges that actually appear in one of the standard views of Rust RFGs
(so e.g., the edge class
Call does not appear in the list,
but some of its subclasses do).
Dispatching_Call¶

Possible Source and Target Nodes
Source type |
Target type |
Views |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
Description
Represents a dispatching call from one routine to another.
Enumerator_Use¶

Possible Source and Target Nodes
Source type |
Target type |
Views |
|---|---|---|
|
|
|
|
|
|
Description
Represents the use of a constant (const variable) in a routine.
Implementation_Of¶

Possible Source and Target Nodes
Source type |
Target type |
Views |
|---|---|---|
|
|
|
|
|
|
|
|
|
Description
Represents an implementation of a trait.
Member_Set¶

Possible Source and Target Nodes
Source type |
Target type |
Views |
|---|---|---|
|
|
|
|
|
|
Description
An edge m→ e of type Member_Set with e being a Member node indicates that e (a field) is possibly written in the context of m.
Member_Use¶

Possible Source and Target Nodes
Source type |
Target type |
Views |
|---|---|---|
|
|
|
|
|
|
Description
An edge m→ e of type Member_Use with e being a Member node indicates that e (a field) is possibly read in the context of m.
Of_Type¶

Possible Source and Target Nodes
Source type |
Target type |
Views |
|---|---|---|
|
|
|
|
|
|
Description
Represents the declared type of a struct/union field.
Parameter_Of_Type¶

Possible Source and Target Nodes
Source type |
Target type |
Views |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
Description
Represents a routine having at least one parameter of a specific type.
Return_Type¶

Possible Source and Target Nodes
Source type |
Target type |
Views |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
Description
Represents a routine returning a specific type.
Self_Type¶

Possible Source and Target Nodes
Source type |
Target type |
Views |
|---|---|---|
|
|
|
Description
Represents the type of Self in an Impl.
Static_Call¶

Possible Source and Target Nodes
Source type |
Target type |
Views |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
Description
Represents a static call from one routine to another.
Type_Synonym_To¶

Possible Source and Target Nodes
Source type |
Target type |
Views |
|---|---|---|
|
|
|
|
|
|
Description
Represents a type synonym.
Variable_Set¶

Possible Source and Target Nodes
Source type |
Target type |
Views |
|---|---|---|
|
|
|
|
|
|
Description
An edge m→ e of type Variable_Set with e being a static variable node indicates that e is possibly written in the context of m.
Variable_Use¶

Possible Source and Target Nodes
Source type |
Target type |
Views |
|---|---|---|
|
|
|
|
|
|
Description
An edge m→ e of type Variable_Use with e being a static or const variable node indicates that e is possibly read in the context of m.