Simplify property accessors
created new Opticalproperty trait to share the functions "name", "node_type" and "inverted" between nodes annd only define them generically within this trait.
removed these functions from the optical trait, such that the functions do not have to be defined for each node.
Addtionally added the "inverted" property for sources, but throw an error if someone tries to change the inversion from fals to true.
Merge request reports
Activity
Filter activity
changed milestone to %v0.3
added suggestion label
added 1 commit
- adafd8df - shifted name, node_type, inverted fns to properties struct insteadof trait
added 15 commits
-
adafd8df...5944f5ca - 10 commits from branch
main
- 8c61a048 - cleared errors and tests, except for source
- b9565bca - cleared source tests
- 7e6e8500 - added error when trying to invert source + code cleanup
- dbeb710a - shifted name, node_type, inverted fns to properties struct insteadof trait
- c20ac7fa - Merge branch 'simplify-property-accessors' of git.gsi.de:phelix/rust/opossum...
Toggle commit list-
adafd8df...5944f5ca - 10 commits from branch
added 5 commits
- ebba1c11 - cleared errors and tests, except for source
- a933fa7d - cleared source tests
- 08f70b08 - added error when trying to invert source + code cleanup
- 9ff21b54 - shifted name, node_type, inverted fns to properties struct insteadof trait
- 34f0a67d - Merge branch 'simplify-property-accessors' of git.gsi.de:phelix/rust/opossum...
Toggle commit listmentioned in commit ee40d545
Please register or sign in to reply