pub trait NatUnique: Nat {
type Output: Nat;
}
Expand description
The Unique
operator collapses one level of redundant zeroes in a ternary representation.
Using Unique
every time we might get a redundant zero should get rid of any potential
problems with non-unique representations of zero.
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.