get_struct_name

Function get_struct_name 

Source
pub fn get_struct_name(tcx: TyCtxt<'_>, def_id: DefId) -> Option<String>
Expand description

Extract the implementing struct name from a DefId that belongs to an associated item (method / associated function).