pub type NonMaxU128 = NonMax<u128>;Expand description
An unsigned 128-bit integer that cannot be u128::MAX.
Aliased Type§
pub struct NonMaxU128(/* private fields */);Implementations§
Source§impl NonMaxU128
impl NonMaxU128
Sourcepub const unsafe fn new_unchecked(value: u128) -> Self
pub const unsafe fn new_unchecked(value: u128) -> Self
Creates a new NonMax without checking the value.
§Safety
The value must not be the maximum value of the underlying type.