File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
55
66## [ Unreleased]
77
8+ - added ` A32 ` and ` A64 ` types
9+
810## [ v0.3.4] - 2020-07-31
911
1012### Added
Original file line number Diff line number Diff line change @@ -51,6 +51,14 @@ pub struct A8;
5151#[ repr( align( 16 ) ) ]
5252pub struct A16 ;
5353
54+ /// 32-byte alignment
55+ #[ repr( align( 32 ) ) ]
56+ pub struct A32 ;
57+
58+ /// 64-byte alignment
59+ #[ repr( align( 64 ) ) ]
60+ pub struct A64 ;
61+
5462/// A newtype with alignment of at least `A` bytes
5563#[ repr( C ) ]
5664pub struct Aligned < A , T >
Original file line number Diff line number Diff line change @@ -4,3 +4,5 @@ impl Alignment for super::A2 {}
44impl Alignment for super :: A4 { }
55impl Alignment for super :: A8 { }
66impl Alignment for super :: A16 { }
7+ impl Alignment for super :: A32 { }
8+ impl Alignment for super :: A64 { }
You can’t perform that action at this time.
0 commit comments