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Β§
- Analyze
Attr πState - Encode
Context π - Encoded
Metadata
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