core::intrinsics::simd

Function simd_reduce_any

Source
pub unsafe extern "rust-intrinsic" fn simd_reduce_any<T>(x: T) -> bool
🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description

Checks if any mask value is true.

T must be a vector of integer primitive types.

§Safety

x must contain only 0 or !0.