Skip to main content

Module value

Module value 

Source
Expand description

A constant’s value: a Rust integer of its fic width, or a bool.

Enums§

ConstValue
The value of a constant: a Rust integer of the constant’s own width (int8 is an i8, uint/Address a u64, byte a u8), or a bool. Nothing is widened: a value only ever meets a value of its own width.