mem_macros 1.0.1

align_of and size_of as a macro, to avoid turbofish notation
Documentation

mem_macros

std::mem::size_of and std::mem::align_of as a macro, to avoid turbofish notation.

Examples

#[macro_use]
extern crate mem_macros;
assert_eq!(1, size_of!(u8));