pub struct Connection<DATA> { /* private fields */ }
Implementations§
Source§impl<DATA> Connection<DATA>where
DATA: Clone,
impl<DATA> Connection<DATA>where
DATA: Clone,
pub const fn index(&self) -> &ConnectionIndex
pub const fn from(&self) -> &PortReference
pub const fn to(&self) -> &PortReference
pub const fn data(&self) -> &DATA
Trait Implementations§
Source§impl<DATA: Clone> Clone for Connection<DATA>
impl<DATA: Clone> Clone for Connection<DATA>
Source§fn clone(&self) -> Connection<DATA>
fn clone(&self) -> Connection<DATA>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<DATA: Debug> Debug for Connection<DATA>
impl<DATA: Debug> Debug for Connection<DATA>
Source§impl<DATA> Display for Connection<DATA>
impl<DATA> Display for Connection<DATA>
Source§impl<DATA: PartialEq> PartialEq for Connection<DATA>
impl<DATA: PartialEq> PartialEq for Connection<DATA>
impl<DATA: Copy> Copy for Connection<DATA>
impl<DATA: Eq> Eq for Connection<DATA>
impl<DATA> StructuralPartialEq for Connection<DATA>
Auto Trait Implementations§
impl<DATA> Freeze for Connection<DATA>where
DATA: Freeze,
impl<DATA> RefUnwindSafe for Connection<DATA>where
DATA: RefUnwindSafe,
impl<DATA> Send for Connection<DATA>where
DATA: Send,
impl<DATA> Sync for Connection<DATA>where
DATA: Sync,
impl<DATA> Unpin for Connection<DATA>where
DATA: Unpin,
impl<DATA> UnwindSafe for Connection<DATA>where
DATA: UnwindSafe,
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