pub enum ConnectionSide {
Source,
Target,
}Variants§
Implementations§
Source§impl ConnectionSide
impl ConnectionSide
pub fn from_port_dir(dir: PortDirection) -> Self
Trait Implementations§
Source§impl Clone for ConnectionSide
impl Clone for ConnectionSide
Source§fn clone(&self) -> ConnectionSide
fn clone(&self) -> ConnectionSide
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 ConnectionSide
Source§impl Debug for ConnectionSide
impl Debug for ConnectionSide
impl Eq for ConnectionSide
Source§impl Hash for ConnectionSide
impl Hash for ConnectionSide
Source§impl PartialEq for ConnectionSide
impl PartialEq for ConnectionSide
Source§fn eq(&self, other: &ConnectionSide) -> bool
fn eq(&self, other: &ConnectionSide) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConnectionSide
Auto Trait Implementations§
impl Freeze for ConnectionSide
impl RefUnwindSafe for ConnectionSide
impl Send for ConnectionSide
impl Sync for ConnectionSide
impl Unpin for ConnectionSide
impl UnsafeUnpin for ConnectionSide
impl UnwindSafe for ConnectionSide
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.