Primitive type

std::num::isize

The methods of isize that std::num defines, and the instances that mention it.

Methods

const MINsource

const MIN: isize = -isize::MAX - 1;

The smallest isize.

const MAXsource

const MAX: isize = (usize::MAX >> 1usize) as isize;

The largest isize.

const BITSsource

const BITS: u32 = usize::BITS;

The width of isize in bits.

Instances

instance Ord[isize, isize]source

instance Ord[isize, isize] { ... }

In std::cmp.

isizes in numeric order.

instance Format[isize, W]source

forall W where Writer[W].
instance Format[isize, W] { ... }

In core::fmt.

A isize formats as its decimal digits, after - when negative.

instance Printable[isize, W]source

forall W where Writer[W].
instance Printable[isize, W] { ... }

In core::fmt.

An isize prints as its decimal digits, after - when negative.

instance Hash[isize]source

instance Hash[isize] { ... }

In std::hash.

A isize hashes as its 64-bit value.

instance Eq[isize, isize]source

instance Eq[isize, isize] { ... }

In std::hash.

isizes are equal when their values are.

instance HashIn[isize, C]source

forall C.
instance HashIn[isize, C] { ... }

In std::hash.

A isize key, under any capability: hashed and compared as Hash and Eq do.