mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-04 09:44:40 +00:00
ptr_aligment_type: add more APIs As per https://github.com/rust-lang/rust/issues/102070#issuecomment-1650043557 Tracking issue: rust-lang/rust#102070 Mostly duplicating methods that previously worked with `usize`-represented alignments. Naming follows a convention of `align: usize`, `alignment: Alignment`.