[][src]Crate dynamic_graph

Re-exports

pub use crate::Edge::Both;
pub use crate::Edge::Loop;

Modules

node_views

Part of the experimental API which allows a user to modify the contents of the collection directly. This API relies on undefined behavior and should not be used.

Macros

make_anchor_mut

Creates an AnchorMut using selected cleanup strategy.

make_guard

Create a Guard with a unique lifetime.

Structs

AnchorMut
Cursor
CursorMut
EdgeBoth
EdgeSingle
GenericGraph
GraphIterRes
GraphPtr

A checked pointer type used to access and traverse graph nodes in the crate. This pointer cannot be dereferenced directly and requires an anchor object to access the data stored in the collection. Thanks to 'generativity' crate this pointer can only be used with and created from an anchor branded with the same 'id and cannot be used once parent anchor is dropped.

GraphRaw
Guard

An invariant lifetime phantomdata that is guaranteed to be unique.

Id

A phantomdata-like type taking a single invariant lifetime.

NamedNode

A node type which uses node pointers as keys in the edge collection.

Enums

CleanupStrategy

A strategy AnchorMut employs to perform cleanup after drop.

Edge

View into two nodes connected by an edge. Takes into account the case when both nodes are the same.

Traits

GraphNode

Type Definitions

VecGraph