Skip to main content

wrap_property_type

Function wrap_property_type 

Source
pub fn wrap_property_type(ty: Option<Type>) -> Option<Arc<Type>>
Expand description

Helper to wrap a PropertyDef type field (ty/inferred_ty/default) in an interned Arc<Type>, deduplicating common property types via the global pool. See PropertyDef.