Constant app_units::app_unit::MAX_AU

source ยท
pub const MAX_AU: Au;
Expand description

The maximum number of app units, same as in Gecko.

(1 << 30) - 1 lets us add/subtract two Au and check for overflow after the operation.