pub type OptionIsSomeFn = for<'option> unsafe fn(option: OpaqueConst<'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.
pub type OptionIsSomeFn = for<'option> unsafe fn(option: OpaqueConst<'option>) -> bool;Check if an option contains a value
The option parameter must point to aligned, initialized memory of the correct type.