Function std::intrinsics::assert_uninit_valid[][src]

pub unsafe extern "rust-intrinsic" fn assert_uninit_valid<T>()
🔬 This is a nightly-only experimental API. (core_intrinsics)

intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library

Expand description

如果 T 具有无效的位模式,则永远不能执行的不安全函数的守卫: 这将静态地 panic,或者什么也不做。

此内联函数没有稳定的对应对象。