Phew! dyn compatibility is a non-trivial concept. There are four public traits in `units`, only one is dyn compatible. This patch is done in order to check off C-OBJECT from the Rust API guidelines checklist. Add a test to check the public traits in `units` for dyn compatibility. While we are at it add a code comment on `Integer` stating why its not dyn-compatible. ref: https://rust-lang.github.io/api-guidelines/flexibility.html#c-object |
||
---|---|---|
.. | ||
data | ||
api.rs | ||
serde.rs | ||
str.rs |