Function uapi::assert_pod

source ·
pub unsafe fn assert_pod<T: ?Sized>(t: &mut T) -> &mut AssertPod<T>
Expand description

Asserts that T is Pod

§Safety

T must follow the Pod contract.