utils/alignment library
Classes
- Aligned
- Annotation for specifying field alignment
- AlignedStruct
- Example of a struct with custom alignment
- AlignmentUtils
- Helper functions for alignment calculations
- StructField
- Struct field metadata class
Enums
- StructAlignment
- Alignment options for struct fields
Extensions
- AlignedAlloc on Allocator
- Extension to help with aligned memory allocation
Functions
-
analyzeStructLayout(
AlignedStruct struct) → void - Function to analyze struct layout