Skip to main content

Module int_width

Module int_width 

Source
Expand description

IntWidth: shared width-semantics specification for first-class integer width types.

This module is the single source of truth for integer width metadata: bit counts, signedness, masks, truncation, and width-joining rules. It lives in shape-ast (bottom of the dependency chain) so every crate can import it.

IntWidth covers the sub-i64 and u64 widths. Plain int (i64) is NOT represented here — it remains the default integer type handled by existing codepaths.

Enums§

IntWidth
Integer width types with real width semantics.