pub trait MonotonicallyMappableToU128:
'static
+ PartialOrd
+ Copy
+ Debug
+ Send
+ Sync {
// Required methods
fn to_u128(self) -> u128;
fn from_u128(val: u128) -> Self;
}
Expand description
Montonic maps a value to u128 value space
Monotonic mapping enables PartialOrd
on u128 space without conversion to original space.
Required Methods§
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.