Skip to main content

Module width

Module width 

Source
Expand description

The Rust integer type of a fic width: int8 is i8, uint32 is u32, uint and Address are u64, byte is u8. A literal enters a width by T::try_from (T::MIN..=T::MAX for the message when it does not) and every operation is Rust’s checked one in it.

Traits§

Width
One fic width’s Rust integer type, as a value enters it and computes in it; None for a value of another width.

Functions§

width
The Rust integer type of a fic primitive; None for bool, which holds no integer.