Type Alias OptionGetValueFn

Source
pub type OptionGetValueFn = for<'option> unsafe fn(option: OpaqueConst<'option>) -> Option<OpaqueConst<'option>>;
Expand description

Get the value contained in an option, if present

ยงSafety

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