diff options
author | Ben Bridle <bridle.benjamin@gmail.com> | 2024-09-30 12:28:24 +1300 |
---|---|---|
committer | Ben Bridle <bridle.benjamin@gmail.com> | 2024-09-30 15:00:01 +1300 |
commit | f4f129a75208ccf5d6a19b1cb81c56d4d95fd61f (patch) | |
tree | b3b95f78edeb2cc48ccf207069631468b2705d55 /src/core.rs | |
parent | f5986d0a37dd8c2526432e5e5e3af7083840447d (diff) | |
download | bedrock-core-f4f129a75208ccf5d6a19b1cb81c56d4d95fd61f.zip |
Make Bedrock parametric over devices
The core Bedrock struct is now parametric over individual Device
structs, rather than over a single DeviceBus. This change was made so
that devices can be implemented separately to one another.
The implementation of the evaluate method has also been changed to make
it potentially slightly more efficient, by replacing pop-then-push
combinations with get operations.
Diffstat (limited to 'src/core.rs')
0 files changed, 0 insertions, 0 deletions