Skip to main content

assert_size

Macro assert_size 

Source
macro_rules! assert_size {
    ($ty:ty, $expected:expr $(,)?) => { ... };
}
Expand description

Asserts that the size of a type is equal to size.