pub struct Link<Idx = u32> {
pub src: NodeIndex<Idx>,
pub target: NodeIndex<Idx>,
}
Fields§
§src: NodeIndex<Idx>
§target: NodeIndex<Idx>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<Idx> Freeze for Link<Idx>where
Idx: Freeze,
impl<Idx> RefUnwindSafe for Link<Idx>where
Idx: RefUnwindSafe,
impl<Idx> Send for Link<Idx>where
Idx: Send,
impl<Idx> Sync for Link<Idx>where
Idx: Sync,
impl<Idx> Unpin for Link<Idx>where
Idx: Unpin,
impl<Idx> UnwindSafe for Link<Idx>where
Idx: 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