macro_rules! const_assert_align {
(?const_expr ($x:expr)) => { ... };
($ty:ty, $align:expr) => { ... };
}Expand description
Ensure the alignment of a type is a certain value at compile time.
macro_rules! const_assert_align {
(?const_expr ($x:expr)) => { ... };
($ty:ty, $align:expr) => { ... };
}Ensure the alignment of a type is a certain value at compile time.