drop_fn_name

Function drop_fn_name 

Source
pub fn drop_fn_name(ty: Type, type_pool: &TypeInternPool) -> Option<String>
Expand description

Return the name of the synthesized __gruel_drop_* function for ty, or None if the type is trivially droppable or is a built-in with a runtime-provided destructor (e.g. String__gruel_drop_String lives in gruel-runtime and is called via a dedicated code path, not through a synthesized wrapper).