pub struct Edge {
pub id: EdgeID,
pub src_node: NodeID,
pub src_port: PortIdx,
pub dst_node: NodeID,
pub dst_port: PortIdx,
}Expand description
An Edge is a connection from source node and port to a destination node and port.
Fields§
§id: EdgeID§src_node: NodeIDThe ID of the source node used by this edge.
src_port: PortIdxThe ID of the source port used by this edge.
dst_node: NodeIDThe ID of the destination node used by this edge.
dst_port: PortIdxThe ID of the destination port used by this edge.
Trait Implementations§
impl Copy for Edge
impl Eq for Edge
impl StructuralPartialEq for Edge
Auto Trait Implementations§
impl Freeze for Edge
impl RefUnwindSafe for Edge
impl Send for Edge
impl Sync for Edge
impl Unpin for Edge
impl UnwindSafe for Edge
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.