pub enum ConnectionLookupKey {
Node(NodeId),
NodeSide {
node: NodeId,
side: ConnectionSide,
},
NodeSidePort {
node: NodeId,
side: ConnectionSide,
port: PortId,
},
}Variants§
Trait Implementations§
Source§impl Clone for ConnectionLookupKey
impl Clone for ConnectionLookupKey
Source§fn clone(&self) -> ConnectionLookupKey
fn clone(&self) -> ConnectionLookupKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ConnectionLookupKey
Source§impl Debug for ConnectionLookupKey
impl Debug for ConnectionLookupKey
impl Eq for ConnectionLookupKey
Source§impl Hash for ConnectionLookupKey
impl Hash for ConnectionLookupKey
Source§impl PartialEq for ConnectionLookupKey
impl PartialEq for ConnectionLookupKey
Source§fn eq(&self, other: &ConnectionLookupKey) -> bool
fn eq(&self, other: &ConnectionLookupKey) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConnectionLookupKey
Auto Trait Implementations§
impl Freeze for ConnectionLookupKey
impl RefUnwindSafe for ConnectionLookupKey
impl Send for ConnectionLookupKey
impl Sync for ConnectionLookupKey
impl Unpin for ConnectionLookupKey
impl UnsafeUnpin for ConnectionLookupKey
impl UnwindSafe for ConnectionLookupKey
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.