The methods of i8 that core::num defines, and the instances that mention it.
Methods
const MINsource
const MIN: i8 = -128;
The smallest i8.
const MAXsource
const MAX: i8 = 127;
The largest i8.
const BITSsource
const BITS: u32 = 8;
The width of i8 in bits.
Instances
instance Ord[i8, i8]source
instance Ord[i8, i8] { ... }
In core::cmp.
i8s in numeric order.
instance Format[i8, W]source
forall W where Writer[W].
instance Format[i8, W] { ... }
In core::fmt.
A i8 formats as its decimal digits, after - when negative.
instance Printable[i8, W]source
forall W where Writer[W].
instance Printable[i8, W] { ... }
In core::fmt.
An i8 prints as its decimal digits, after - when negative.
instance Hash[i8]source
instance Hash[i8] { ... }
In core::hash.
A i8 hashes as its 64-bit value.
instance Eq[i8, i8]source
instance Eq[i8, i8] { ... }
In core::hash.
i8s are equal when their values are.
instance HashIn[i8, C]source
forall C.
instance HashIn[i8, C] { ... }
In core::hash.
A i8 key, under any capability: hashed and compared as Hash and Eq do.