Perhaps you're interested in num_traits::bounds::Bounded - Rust?
The answers for traits in core
is "generally no", as was recently discussed in more detail in Missing traits for checked arithmetic - #2 by scottmcm
Perhaps you're interested in num_traits::bounds::Bounded - Rust?
The answers for traits in core
is "generally no", as was recently discussed in more detail in Missing traits for checked arithmetic - #2 by scottmcm