Struct acyclic_network::LinkRefItem [] [src]

pub struct LinkRefItem<'a, N, L, EXTID> where N: NodeType + 'a, L: Copy + Debug + Send + Sized + 'a, EXTID: Copy + Debug + Send + Sized + Ord + 'a {
    // some fields omitted
}

A LinkRefItem includes a pointer to the network, as such, it is read only.

Methods

impl<'a, N, L, EXTID> LinkRefItem<'a, N, L, EXTID> where N: NodeType + 'a, L: Copy + Debug + Send + Sized + 'a, EXTID: Copy + Debug + Send + Sized + Ord + 'a
[src]

fn network(&self) -> &Network<N, L, EXTID>

fn source_node(&self) -> &Node<N, EXTID>

fn target_node(&self) -> &Node<N, EXTID>

fn external_source_node_id(&self) -> EXTID

fn external_target_node_id(&self) -> EXTID