Skip to main content

Const

Type Alias Const 

Source
type Const = (bool, U256);
Expand description

A signed integer constant as (is_negative, magnitude), matching how solar stores negated literals (-128 is Unary(Neg, Lit(128))). Zero is always (false, 0).

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 40 bytes