Crate mem_macros [] [src]

align_of and size_of as a macro, to avoid turbofish notation

Macros

align_of

Returns the ABI-required minimum alignment of a type.

size_of

Returns the size of a type in bytes.