pub struct Link { /* private fields */ }
Expand description
Represents a single link between two nodes in the Galaxy db.
Individual links don’t know what node they point from, they merely have a weight and point to
another node. Links should never be stored separate from the Node
(or NodeData
) that they
are tied to for this reason.
Implementations§
Auto Trait Implementations§
impl Freeze for Link
impl !RefUnwindSafe for Link
impl Send for Link
impl Sync for Link
impl Unpin for Link
impl UnwindSafe for Link
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