Skip to main content

non_exhaustive

Function non_exhaustive 

Source
pub const fn non_exhaustive(_id: TypeId) -> bool
🔬This is a nightly-only experimental API. (core_intrinsics)
This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Expand description

Checks whether this type is non-exhaustive.