Derive Macro CellAgent
#[derive(CellAgent)]
{
// Attributes available to this derive:
#[Cycle]
#[Mechanics]
#[MechanicsRaw]
#[Position]
#[Velocity]
#[Interaction]
#[Reactions]
#[ReactionsContact]
#[ReactionsRaw]
#[ReactionsExtra]
#[ReactionsExtraRaw]
#[Intracellular]
#[ExtracellularGradient]
}
Expand description
Derive cellular concepts
This macro allows to simply derive already implemented concepts from struct fields. Currently the only allowed notation is by defining macros with curly braces.
ⓘ
#[derive(CellAgent)]
struct MyCell {
#[Cycle]
cycle: MyCycle,
...
}