assert_packed

Function assert_packed 

Source
pub unsafe fn assert_packed<T: ?Sized>(t: &T) -> &AssertPacked<T>
Expand description

Asserts that T is Packed

ยงSafety

T must follow the Packed contract.