pub struct DoubletLink {
pub source: LinkId,
pub target: LinkId,
}Expand description
A doublet-link representing a connection between two link references. This is the fundamental building block in Links Theory: L → L²
Fields§
§source: LinkIdThe source link reference
target: LinkIdThe target link reference
Implementations§
Trait Implementations§
Source§impl Clone for DoubletLink
impl Clone for DoubletLink
Source§fn clone(&self) -> DoubletLink
fn clone(&self) -> DoubletLink
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 Debug for DoubletLink
impl Debug for DoubletLink
Source§impl Hash for DoubletLink
impl Hash for DoubletLink
Source§impl PartialEq for DoubletLink
impl PartialEq for DoubletLink
impl Copy for DoubletLink
impl Eq for DoubletLink
impl StructuralPartialEq for DoubletLink
Auto Trait Implementations§
impl Freeze for DoubletLink
impl RefUnwindSafe for DoubletLink
impl Send for DoubletLink
impl Sync for DoubletLink
impl Unpin for DoubletLink
impl UnwindSafe for DoubletLink
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