pub struct GraphEdge {
pub from: GraphNode,
pub to: GraphNode,
pub data: GraphEdgeAttributes,
}Expand description
Directed edge between graph nodes, including its dependency attributes.
Fields§
§from: GraphNodeSource node of the directed dependency.
to: GraphNodeDestination node that depends on the source.
data: GraphEdgeAttributesPort and dependency attributes of the edge.
Trait Implementations§
impl Eq for GraphEdge
impl StructuralPartialEq for GraphEdge
Auto Trait Implementations§
impl !RefUnwindSafe for GraphEdge
impl !Send for GraphEdge
impl !Sync for GraphEdge
impl !UnwindSafe for GraphEdge
impl Forget for GraphEdge
impl Freeze for GraphEdge
impl Move for GraphEdge
impl Unpin for GraphEdge
impl UnsafeUnpin for GraphEdge
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.