pub enum ConnectionTarget {
Net(NetId),
Node(NodeId),
}Expand description
The graph target for a terminal connection.
Variants§
Trait Implementations§
Source§impl Clone for ConnectionTarget
impl Clone for ConnectionTarget
Source§fn clone(&self) -> ConnectionTarget
fn clone(&self) -> ConnectionTarget
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 moreSource§impl Debug for ConnectionTarget
impl Debug for ConnectionTarget
Source§impl Display for ConnectionTarget
impl Display for ConnectionTarget
Source§impl Hash for ConnectionTarget
impl Hash for ConnectionTarget
Source§impl Ord for ConnectionTarget
impl Ord for ConnectionTarget
Source§fn cmp(&self, other: &ConnectionTarget) -> Ordering
fn cmp(&self, other: &ConnectionTarget) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ConnectionTarget
impl PartialEq for ConnectionTarget
Source§fn eq(&self, other: &ConnectionTarget) -> bool
fn eq(&self, other: &ConnectionTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ConnectionTarget
impl PartialOrd for ConnectionTarget
impl Eq for ConnectionTarget
impl StructuralPartialEq for ConnectionTarget
Auto Trait Implementations§
impl Freeze for ConnectionTarget
impl RefUnwindSafe for ConnectionTarget
impl Send for ConnectionTarget
impl Sync for ConnectionTarget
impl Unpin for ConnectionTarget
impl UnsafeUnpin for ConnectionTarget
impl UnwindSafe for ConnectionTarget
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