Struct traitgraph::interface::Edge [−][src]
pub struct Edge<NodeIndex> {
pub from_node: NodeIndex,
pub to_node: NodeIndex,
}Expand description
An edge represented as a pair of node indices.
Fields
from_node: NodeIndexThe tail of this edge.
to_node: NodeIndexThe head of this edge.
Trait Implementations
Auto Trait Implementations
impl<NodeIndex> RefUnwindSafe for Edge<NodeIndex> where
NodeIndex: RefUnwindSafe,
impl<NodeIndex> UnwindSafe for Edge<NodeIndex> where
NodeIndex: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.