mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 03:07:24 +03:00
2da5959600
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`.