pub struct EdgeRef {
pub source: PortRef,
pub target: PortRef,
}Expand description
A reference to an edge, identified by its source and target ports.
Fields§
§source: PortRefThe output port where this edge originates.
target: PortRefThe input port where this edge terminates.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EdgeRef
impl<'de> Deserialize<'de> for EdgeRef
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EdgeRef
impl StructuralPartialEq for EdgeRef
Auto Trait Implementations§
impl Freeze for EdgeRef
impl RefUnwindSafe for EdgeRef
impl Send for EdgeRef
impl Sync for EdgeRef
impl Unpin for EdgeRef
impl UnwindSafe for EdgeRef
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§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.