Expand description
Compute the binary representation of structs, unions and enums
Functions§
- layout_
of_ 🔒adt_ cycle_ result - layout_
of_ adt_ query - repr_
discr 🔒 - Finds the appropriate Integer type and signedness for the given
signed discriminant range and
#[repr]attribute. N.B.:u128values abovei128::MAXwill be treated as signed, but that shouldn’t affect anything, other than maybe debuginfo.