Macros§
- empty_
proc_ 🔒macro - If the current crate is a proc-macro, returns early with
LazyArray::default()
. This is useful for skipping the encoding of things that aren’t needed for proc-macro crates. - encoder_
methods 🔒 - record 🔒
- record_
array 🔒 - record_
defaulted_ 🔒array
Structs§
Functions§
- analyze_
attr 🔒 - Returns whether an attribute needs to be recorded in metadata, that is, if it’s usable and useful in downstream crates. Local-only attributes are an obvious example, but some rustdoc-specific attributes can equally be of use while documenting the current crate only.
- bytes_
needed 🔒 - encode_
metadata - encode_
root_ 🔒position - prefetch_
mir 🔒 - Used to prefetch queries which will be needed later by metadata encoding. Only a subset of the queries are actually prefetched to keep this code smaller.
- provide 🔒
- rendered_
const - Build a textual representation of an unevaluated constant expression.
- should_
encode_ 🔒attrs - should_
encode_ 🔒const - should_
encode_ 🔒constness - should_
encode_ 🔒expn_ that_ defined - should_
encode_ 🔒fn_ impl_ trait_ in_ trait - should_
encode_ 🔒fn_ sig - should_
encode_ 🔒generics - should_
encode_ 🔒mir - Whether we should encode MIR. Return a pair, resp. for CTFE and for LLVM.
- should_
encode_ 🔒span - should_
encode_ 🔒stability - should_
encode_ 🔒type - should_
encode_ 🔒variances - should_
encode_ 🔒visibility