(no title)
timClicks | 3 months ago
In principle, you Rust could create something like std::num::NonZero and its corresponding sealed trait ZeroablePrimitive to mark that two bits are unused. But that doesn't exist yet as far as I know.
timClicks | 3 months ago
In principle, you Rust could create something like std::num::NonZero and its corresponding sealed trait ZeroablePrimitive to mark that two bits are unused. But that doesn't exist yet as far as I know.
Rusky|3 months ago
Also aspirations to use pattern types for this sort of thing: https://github.com/rust-lang/rust/issues/135996