rustdoc::clean::utils - Rust (original) (raw)
Module utils
Constantsยง
DOC_RUST_LANG_ORG_VERSION ๐
A link to doc.rust-lang.org
that includes the channel name. Use this instead of manual links so that the channel is consistent.
Staticsยง
RUSTDOC_VERSION ๐
Functionsยง
attrs_have_doc_flag ๐
Check if the generic argument actual
coincides with the default
and can therefore be elided.
clean_middle_generic_args ๐
clean_middle_generic_args_with_constraints ๐
clean_middle_path ๐
display_macro_source ๐
enter_impl_trait ๐
find_nearest_parent_module ๐
Find the nearest parent module of a DefId.
format_integer_with_underscore_sep ๐
has_doc_flag ๐
Checks for the existence of hidden
in the attribute below if flag
is sym::hidden
:
inherits_doc_hidden ๐
is_literal_expr ๐
krate ๐
name_from_pat ๐
print_const ๐
print_const_with_custom_print_scalar ๐
qpath_to_string ๐
register_res ๐
If res
has a documentation page associated, store it in the cache.
render_macro_arms ๐
Render a sequence of macro arms in a format suitable for displaying to the user as part of an item declaration.
resolve_type ๐
Given a type Path, resolve it to a Type using the TyCtxt
resolve_use_source ๐
should_ignore_res ๐