Struct organelle::Axon [] [src]

pub struct Axon<S: Signal, Y: Synapse> { /* fields omitted */ }

provides core convenience functions with little boilerplate

Methods

impl<S: Signal, Y: Synapse> Axon<S, Y>
[src]

[src]

new axon with dendrites and default user-defined state

[src]

update the axon's inputs and outputs, then verify dendrites

if axon handles the given message, it consumes it, otherwise it is returned so that the soma can use it.

[src]

get the effector assigned to this soma

[src]

convenience function for sending messages by role

[src]

convenience function for sending messages by role

[src]

get a RequireOne input

[src]

get a Variadic input

[src]

get a RequireOne output

[src]

get a Variadic output