rustc_
middle
1.90.0-nightly
(35f603652 2025-06-29)
In rustc_
middle::
ty::
print
Modules
pretty
Macros
with_crate_prefix
with_forced_impl_filename_line
with_forced_trimmed_paths
with_no_queries
with_no_trimmed_paths
with_no_visible_paths
with_no_visible_paths_if_doc_hidden
with_reduced_queries
with_types_for_signature
with_types_for_suggestion
Structs
CratePrefixGuard
FmtPrinter
FmtPrinterData
ForceTrimmedGuard
ForcedImplGuard
NoTrimmedGuard
NoVisibleGuard
NoVisibleIfDocHiddenGuard
OpaqueFnEntry
PrintClosureAsImpl
ReducedQueriesGuard
RegionHighlightMode
RtnModeHelper
TraitPredPrintModifiersAndPath
TraitPredPrintWithBoundConstness
TraitRefPrintOnlyTraitName
TraitRefPrintOnlyTraitPath
TraitRefPrintSugared
Enums
RtnMode
WrapBinderMode
Traits
PrettyPrinter
Print
PrintPolyTraitPredicateExt
PrintPolyTraitRefExt
PrintTraitPredicateExt
PrintTraitRefExt
Printer
Functions
characteristic_def_id_of_type
characteristic_def_id_of_type_cached
describe_as_module
provide
shrunk_instance_name
trimmed_def_paths
with_crate_prefix
with_forced_impl_filename_line
with_forced_trimmed_paths
with_no_trimmed_paths
with_no_visible_paths
with_no_visible_paths_if_doc_hidden
with_reduced_queries
Type Aliases
PrintError
rustc_middle
::
ty
::
print
Function
describe_as_module
Copy item path
Settings
Help
Summary
Source
pub fn describe_as_module( def_id: impl
Into
<
LocalDefId
>, tcx:
TyCtxt
<'_>, ) ->
String