Struct acyclic_network::Node
[−]
[src]
pub struct Node<N: NodeType, EXTID: Copy + Debug + Send + Sized + Ord = ExternalId> { /* fields omitted */ }
Methods
impl<N: NodeType, EXTID: Copy + Debug + Send + Sized + Ord = ExternalId> Node<N, EXTID>
[src]
fn node_type(&self) -> &N
fn set_node_type(&mut self, node_type: N)
fn external_node_id(&self) -> EXTID
fn degree(&self) -> usize
fn in_degree(&self) -> u32
fn out_degree(&self) -> u32
fn in_out_degree(&self) -> (u32, u32)
Trait Implementations
impl<N: Clone + NodeType, EXTID: Clone + Copy + Debug + Send + Sized + Ord> Clone for Node<N, EXTID>
[src]
fn clone(&self) -> Node<N, EXTID>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more