Expand description
Ways to make things more or less algined.
Structs§
- Align
- Struct aligned to a particular number of bytes.
- Aligned
- Aligns a type to a given number of bytes.
- Misaligned
- Ensures that a type is not aligned to a given number of bytes.
- Overalign
alloc - Allocator that forces minimum alignment, similar to
Aligned. - Padding
- Uninitialized bytes with a particular alignment.
- Underalign
alloc - Allocator that reduces alignment, similar to
Misaligned.
Traits§
Functions§
- align
- Alias for
Align::new. - aligned
- Alias for
Aligned::new. - misaligned
- Alias for
Misaligned::new. - padding
- Alias for
Padding::new.