Constantsยง
- 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ยง
- DOC_CHANNEL ๐
Functionsยง
- attrs_have_doc_flag ๐
- Check if the generic argument
actual
coincides with thedefault
and can therefore be elided. - clean_middle_path ๐
- display_macro_source ๐
- enter_impl_trait ๐
- Find the nearest parent module of a
DefId
. - has_doc_flag ๐Checks for the existence of
hidden
in the attribute below ifflag
issym::hidden
: - inherits_doc_hidden ๐
- is_literal_expr ๐
- krate ๐
- name_from_pat ๐
- print_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 ๐