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