pub struct GraphEdges { /* private fields */ }
Expand description

The underlying edges of the graph which only contains the raw relationship data.

This is kept separate from the Graph as the Nodes get consumed when the Solc to Sources set is determined.

Implementations§

How many files are source files

Returns an iterator over all file indices

Returns an iterator over all source file indices

Returns an iterator over all library files

Returns all additional --include-paths

Returns all imports that we failed to resolve

Returns a list of nodes the given node index points to for the given kind.

Returns an iterator that yields all imports of a node and all their imports

Returns all files imported by the given file

Returns the id of the given file

Returns the path of the given node

Returns true if the file was originally included when the graph was first created and not added when all imports were resolved

Returns the VersionReq for the given file

Returns those library files that will be required as linkReferences by the given file

This is a preprocess function that attempts to resolve those libraries that will the solidity file will be required to link. And further restrict this list to libraries that won’t be inlined See also SolLibrary

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more