For the complete documentation index, see llms.txt.
aztec-nr - std::meta::typ

Struct IntegerType

pub comptime struct IntegerType
{ /* private fields */ }

An integer type decomposed by Type::as_integer into its signedness and bit width.

Implementations

impl IntegerType

pub comptime fn is_signed(self) -> bool

true if the integer type is signed.

pub comptime fn bits(self) -> u8

The bit width of the integer type.