Skip to main content

NonMaxIsize

Type Alias NonMaxIsize 

Source
pub type NonMaxIsize = NonValueIsize<{ isize::MAX }>;
Expand description

A isize that is known not to equal its maximum. Drop-in for nonmax::NonMaxIsize.

Aliased Type§

pub struct NonMaxIsize(/* private fields */);

Trait Implementations§

Source§

impl From<NonValueI8<{ $prim::MAX }>> for NonMaxIsize

Source§

fn from(small: NonMaxI8) -> Self

Converts to this type from the input type.
Source§

impl From<NonValueI16<{ $prim::MAX }>> for NonMaxIsize

Source§

fn from(small: NonMaxI16) -> Self

Converts to this type from the input type.
Source§

impl From<NonValueU8<{ $prim::MAX }>> for NonMaxIsize

Source§

fn from(small: NonMaxU8) -> Self

Converts to this type from the input type.
Source§

impl From<i8> for NonMaxIsize

Source§

fn from(small: i8) -> Self

Converts to this type from the input type.
Source§

impl From<i16> for NonMaxIsize

Source§

fn from(small: i16) -> Self

Converts to this type from the input type.
Source§

impl From<u8> for NonMaxIsize

Source§

fn from(small: u8) -> Self

Converts to this type from the input type.