rustdoc::clean::utils - Rust (original) (raw)

rustdoc::clean

Module utils

Source

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 ๐Ÿ”’

build_deref_target_impls ๐Ÿ”’

can_elide_generic_arg ๐Ÿ”’

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 ๐Ÿ”’

print_evaluated_const ๐Ÿ”’

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 ๐Ÿ”’

synthesize_auto_trait_and_blanket_impls ๐Ÿ”’