rust-num / num-derive

Procedural macros to derive numeric traits in Rust
Apache License 2.0
166 stars 24 forks source link

Derive `Bounded` #63

Open TonalidadeHidrica opened 3 months ago

TonalidadeHidrica commented 3 months ago

It would be nice if num::Bounded can be derived for a newtype for a numerical value. (There may be some other traits for which derive macro is worth implementing.)