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