Skip to main content

Crate offline

Crate offline 

Source
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.
DynAlign
Alignment value.
DynOveralignalloc
Dynamic version of Overalign.
DynUnderalignalloc
Dynamic version of Underalign.
Misaligned
Ensures that a type is not aligned to a given number of bytes.
Overalignalloc
Allocator that forces minimum alignment, similar to Aligned.
Padding
Uninitialized bytes with a particular alignment.
Underalignalloc
Allocator that reduces alignment, similar to Misaligned.

Traits§

Alignment
Valid Alignment.
Unpadded
Opt-in guarantee that a type does not contain any padding bytes.

Functions§

align
Alias for Align::new.
aligned
Alias for Aligned::new.
misaligned
Alias for Misaligned::new.
padding
Alias for Padding::new.