OptionGetValueFn

Type Alias OptionGetValueFn 

Source
pub type OptionGetValueFn = unsafe fn(option: PtrConst) -> Option<PtrConst>;
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.