Expand description
Support for inlining external documentation into the current AST.
Functions§
- build_
const_ πitem - build_
enum π - build_
external_ πtrait - build_
function π - build_
impl πInline animpl
, inherent or of a trait. Thedid
must be for animpl
. - build_
impls πBuilds all inherent implementations of an ADT (struct/union/enum) or Trait item/path/reexport. - build_
macro π - build_
module π - build_
module_ πitems - build_
static π - build_
struct π - build_
type_ πalias - build_
union π - A traitβs generics clause actually contains all of the predicates for all of its associated types as well. We specifically move these clauses to the associated types instead when displaying, so when weβre generating the generics for the trait itself we need to be sure to remove them. We also need to remove the implied βrecursiveβ Self: Trait bound.
- item_
relative_ πpath - load_
attrs π - merge_
attrs π - print_
inlined_ πconst - record_
extern_ πfqn Record an external fully qualified name in the external_paths cache. - record_
extern_ πtrait - Supertrait bounds for a trait are also listed in the generics coming from the metadata for a crate, so we want to separate those out and create a new list of explicit supertrait bounds to render nicely.
- try_
inline πAttempt to inline a definition into this AST. - try_
inline_ πglob