Expand description
Algorithm for traversing (“visiting”) the dependency graph within a type stream or between a symbol stream and a type stream.
Traits§
- Index
Visitor - Defines a visitor that visits every ItemId and TypeIndexLe in a record.
- Index
Visitor Mut - Defines a visitor that visits every ItemId and TypeIndexLe in a record. Allows modification.
- Record
Visitor - Defines the functions needed for generically visiting type indexes within a type record or a symbol record.
Functions§
- visit_
type_ indexes_ in_ record - This function examines a type record and traverses the type indexes within it.
- visit_
type_ indexes_ in_ record_ slice - Scans the type indexes within a type record and calls
ffor each type index. This function can only read data. - visit_
type_ indexes_ in_ record_ slice_ mut - Scans the type indexes within a type record and calls
ffor each type index. This function can modify the type indexes within the record.