Crate pakr_assert_size[−][src]
Attribute Macros
The attribute #[assert_size(USIZE)]
performs compile-time check, if the
structure it is attached to has the exact size in bytes.
The attribute #[assert_size_fits(USIZE)]
performs compile-time check, if the
structure it is attached is not bigger than given amount of bytes.