more info about impl
This commit is contained in:
parent
8fd5f4530d
commit
d520c4d057
@ -300,10 +300,9 @@ __Note:__ the bigger a machine, the slower it reacts to inputs because signals n
|
|||||||
- get_target(), get the target (immutable ref)
|
- get_target(), get the target (immutable ref)
|
||||||
- apply(), applies the action
|
- apply(), applies the action
|
||||||
|
|
||||||
PROBLEM: apply() requires a mutable reference to the target, but it's not possible to pass it in any way. Only an
|
- PROBLEM: apply() requires a mutable reference to the target, but it's not possible to pass it in any way. Only an immutable ref can be passed.
|
||||||
immutable ref can be passed.
|
- SOLUTION: use an immutable reference and call as_mut on it?
|
||||||
|
- thread comms: use channels?
|
||||||
SOLUTION: use an immutable reference and call as_mut on it?
|
|
||||||
|
|
||||||
TODO: figure out where to put UI logic. We probably can't do it in parallel with the simulation, so it needs
|
TODO: figure out where to put UI logic. We probably can't do it in parallel with the simulation, so it needs
|
||||||
to be executed by the manager thread.
|
to be executed by the manager thread.
|
||||||
|
Loading…
Reference in New Issue
Block a user