Skip to main content

OptionGetValueFn

Type Alias OptionGetValueFn 

Source
pub type OptionGetValueFn = unsafe extern "C" fn(option: PtrConst) -> *const u8;
Expand description

Get the value contained in an option, if present. Returns null if the option is None.

ยงSafety

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