Skip to main content

assert_unpin

Function assert_unpin 

Source
pub const fn assert_unpin<T: Unpin>()
Expand description

Asserts at compile time that T implements Unpin.

The generic bound supplies the assertion, and the function performs no runtime work.