Use pointers, not keys, to refer to regulators
In the process, move the code that used to handle serial numbering for elements into the `Serial` trait, where it can provide serial numbers for regulators too.
This commit is contained in:
parent
fbd6177a07
commit
8a86038de0
3 changed files with 106 additions and 80 deletions
|
@ -3,6 +3,7 @@ name = "dyna3"
|
|||
version = "0.1.0"
|
||||
authors = ["Aaron Fenyes", "Glen Whitney"]
|
||||
edition = "2021"
|
||||
rust-version = "1.86"
|
||||
|
||||
[features]
|
||||
default = ["console_error_panic_hook"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue