Struct cppn::substrate::Link
[−]
[src]
pub struct Link<'a, P, T> where
P: Position + 'a,
T: 'a, { pub source: &'a Node<P, T>, pub target: &'a Node<P, T>, pub source_idx: (usize, usize), pub target_idx: (usize, usize), pub outputs: Vec<f64>, pub distance_square: f64, }
Fields
source: &'a Node<P, T>
target: &'a Node<P, T>
source_idx: (usize, usize)
target_idx: (usize, usize)
outputs: Vec<f64>
distance_square: f64
Trait Implementations
impl<'a, P: Clone, T: Clone> Clone for Link<'a, P, T> where
P: Position + 'a,
T: 'a,
[src]
P: Position + 'a,
T: 'a,
fn clone(&self) -> Link<'a, P, T>
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