Open bluecube opened 1 year ago
I actually came into a use case that'd need something like this recently...I was wondering if it'd be nice to also introduce a trait that defined BITS
, MAX
, MIN
and new
such that it'd be easier to write generic methods for any uX type that needed to access those properties.
This matches rust primitive types since 1.53.0, helps a bit when using this crate's types with macros.