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 ofhidden
in the attribute below ifflag
issym::hidden
: - inherits_
doc_ ๐hidden - is_
literal_ ๐expr - krate ๐
- name_
from_ ๐pat - print_
const ๐ - qpath_
to_ ๐string - register_
res ๐Ifres
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