Type Alias OptionIsSomeFn

Source
pub type OptionIsSomeFn = for<'option> unsafe fn(PtrConst<'option>) -> bool;
Expand description

Check if an option contains a value

ยงSafety

The option parameter must point to aligned, initialized memory of the correct type.