Module rustdoc::clean::utils[−][src]

Traits

ToSource

Functions

build_deref_target_impls
doc_rust_lang_org_channel

Return a channel suitable for using in a doc.rust-lang.org/{channel} format string.

enter_impl_trait
external_generic_args
external_path
find_nearest_parent_module

Find the nearest parent module of a DefId.

format_integer_with_underscore_sep
get_auto_trait_and_blanket_impls
has_doc_flag

Checks for the existence of hidden in the attribute below if flag is sym::hidden:

is_literal_expr
krate
name_from_pat
print_const
print_const_expr
print_const_with_custom_print_scalar
print_evaluated_const
qpath_to_string
register_res
resolve_type

Given a type Path, resolve it to a Type using the TyCtxt

resolve_use_source
strip_path
strip_type