Crate mem_macros

Source
Expand description

align_of and size_of as a macro, to avoid turbofish notation

Macrosยง

  • Returns the ABI-required minimum alignment of a type.
  • Returns the size of a type in bytes.