Struct acyclic_network::Link
[−]
[src]
pub struct Link<L, EXTID> where
L: Copy + Debug + Send + Sized,
EXTID: Copy + Debug + Send + Sized + Ord, { /* fields omitted */ }
Methods
impl<L, EXTID> Link<L, EXTID> where
L: Copy + Debug + Send + Sized,
EXTID: Copy + Debug + Send + Sized + Ord,
[src]
L: Copy + Debug + Send + Sized,
EXTID: Copy + Debug + Send + Sized + Ord,
fn external_link_id(&self) -> EXTID
[src]
fn source_node_index(&self) -> NodeIndex
[src]
fn target_node_index(&self) -> NodeIndex
[src]
fn is_active(&self) -> bool
[src]
fn weight(&self) -> L
[src]
fn set_weight(&mut self, new_weight: L)
[src]
Trait Implementations
impl<L: Clone, EXTID: Clone> Clone for Link<L, EXTID> where
L: Copy + Debug + Send + Sized,
EXTID: Copy + Debug + Send + Sized + Ord,
[src]
L: Copy + Debug + Send + Sized,
EXTID: Copy + Debug + Send + Sized + Ord,
fn clone(&self) -> Link<L, EXTID>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<L: Debug, EXTID: Debug> Debug for Link<L, EXTID> where
L: Copy + Debug + Send + Sized,
EXTID: Copy + Debug + Send + Sized + Ord,
[src]
L: Copy + Debug + Send + Sized,
EXTID: Copy + Debug + Send + Sized + Ord,