pub struct ChunkedGraph<K: Key, N, E> { /* private fields */ }

Implementations

Translates given key to internal index. This is generally an relatively expensive operation, avoid frequent translations.

Translates given internal index to key

Returns the index of the most recent added node

Trait Implementations

Formats the value using the given formatter. Read more
Creates a new edge with given data without any edges
Creates a new edge between a and b with given edge data
Returns the total amount of nodes this graph holds
Convenience function, implemented in terms of Graph::add_node and Graph::add_edge

Indexes the graph as if it was a linear storage like Vec

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
Inserts a new eiffel event into storage
Looks up the event of given id
Returns all current stored events
Collects sub-graph(’s) for given root nodes

Returns the argument unchanged.

Calls U::from(self).

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

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.