Function uapi::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.