pub const fn assert_unpin<T: Unpin>()
Asserts at compile time that T implements Unpin.
T
Unpin
The generic bound supplies the assertion, and the function performs no runtime work.