Skip to main content

lower_object_opt

Function lower_object_opt 

Source
pub fn lower_object_opt<T>(value: Option<impl Into<Arc<T>>>) -> *mut T
Expand description

Lower an optional object: None becomes null, Some transfers one strong reference exactly like lower_object.