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 an
impl
, 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 🔒 - filter_
non_ 🔒trait_ generics - 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 - separate_
supertrait_ 🔒bounds - 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