Trait organelle::Synapse [] [src]

pub trait Synapse: Debug + Copy + Clone + Hash + PartialEq + Eq {
    type Terminal: Debug;
    type Dendrite: Debug;
    fn synapse(self) -> (Self::Terminal, Self::Dendrite);

    fn data() -> SynapseData { ... }
}

trait alias to express requirements of a Synapse type

Associated Types

terminals are the senders or outputs in a connection between somas

dendrites are the receivers or inputs in a connection between somas

Required Methods

form a synapse for this synapse into a terminal and dendrite

Provided Methods

get the data associated with the synapse

Implementors