Skip to main content

array_oid_checked

Function array_oid_checked 

pub const fn array_oid_checked(elem: u32) -> u32
Expand description

Like array_oid, for use in const contexts where a missing mapping has to fail at compile time instead of silently declaring the wrong type.

ยงPanics

Panics during constant evaluation when elem has no array counterpart.