DynGetStrFn

Type Alias DynGetStrFn 

Source
pub type DynGetStrFn = unsafe fn(value: PtrConst) -> Option<&'static str>;
Expand description

Get a string reference. Returns None if not a string.

ยงSafety

value must point to an initialized dynamic value. The returned reference is valid for the lifetime of the value.