File tree 3 files changed +12
-0
lines changed
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/).
5
5
6
6
## [ Unreleased]
7
7
8
+ - added ` A32 ` and ` A64 ` types
9
+
8
10
## [ v0.3.4] - 2020-07-31
9
11
10
12
### Added
Original file line number Diff line number Diff line change @@ -51,6 +51,14 @@ pub struct A8;
51
51
#[ repr( align( 16 ) ) ]
52
52
pub struct A16 ;
53
53
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
+
54
62
/// A newtype with alignment of at least `A` bytes
55
63
#[ repr( C ) ]
56
64
pub struct Aligned < A , T >
Original file line number Diff line number Diff line change @@ -4,3 +4,5 @@ impl Alignment for super::A2 {}
4
4
impl Alignment for super :: A4 { }
5
5
impl Alignment for super :: A8 { }
6
6
impl 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