fn generate_assert_no_padding(input: &DeriveInput) -> Result<TokenStream>
Expand description
Check that a struct has no padding by asserting that the size of the struct is equal to the sum of the size of it’s fields
fn generate_assert_no_padding(input: &DeriveInput) -> Result<TokenStream>
Check that a struct has no padding by asserting that the size of the struct is equal to the sum of the size of it’s fields