DefPathData::get_name()
DefPathData::name()
For more information about how rustc works, see the rustc dev guide.