Struct organelle::Soma [] [src]

pub struct Soma<M, R> where
    M: CellMessage,
    R: CellRole
{ /* fields omitted */ }

provides core convenience functions with little boilerplate

Methods

impl<M, R> Soma<M, R> where
    M: CellMessage,
    R: CellRole
[src]

[src]

new soma with constraints and default user-defined state

[src]

update the soma's inputs and outputs, then verify constraints

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

[src]

get the effector assigned to this cell

[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