pub struct LinkRefItem<'a, N, L, EXTID>where
N: NodeType + 'a,
L: Copy + Debug + Send + Sized + 'a,
EXTID: Copy + Debug + Send + Sized + Ord + 'a,{ /* private fields */ }
Expand description
A LinkRefItem includes a pointer to the network, as such, it is read only.
Implementations§
Source§impl<'a, N, L, EXTID> LinkRefItem<'a, N, L, EXTID>
impl<'a, N, L, EXTID> LinkRefItem<'a, N, L, EXTID>
pub fn link(&self) -> &Link<L, EXTID>
pub fn network(&self) -> &Network<N, L, EXTID>
pub fn external_link_id(&self) -> EXTID
pub fn source_node(&self) -> &Node<N, EXTID>
pub fn target_node(&self) -> &Node<N, EXTID>
pub fn external_source_node_id(&self) -> EXTID
pub fn external_target_node_id(&self) -> EXTID
Auto Trait Implementations§
impl<'a, N, L, EXTID> Freeze for LinkRefItem<'a, N, L, EXTID>
impl<'a, N, L, EXTID> RefUnwindSafe for LinkRefItem<'a, N, L, EXTID>
impl<'a, N, L, EXTID> Send for LinkRefItem<'a, N, L, EXTID>
impl<'a, N, L, EXTID> Sync for LinkRefItem<'a, N, L, EXTID>
impl<'a, N, L, EXTID> Unpin for LinkRefItem<'a, N, L, EXTID>
impl<'a, N, L, EXTID> UnwindSafe for LinkRefItem<'a, N, L, EXTID>
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