pub(crate) fn derive_unaligned_struct(
ast: &DeriveInput,
strct: &DataStruct,
zerocopy_crate: &Path,
) -> Result<TokenStream, Error>Expand description
A struct is Unaligned if:
repr(align)is no more than 1 and eitherrepr(C)orrepr(transparent)and- all fields
Unaligned
- all fields
repr(packed)