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

Trait Implementations

impl<'a, P: Clone, T: Clone> Clone for Link<'a, P, T> where
    P: Position + 'a,
    T: 'a, 
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more