Expand description
HTML formatting module
This module contains a large number of Display
implementations for
various types in rustdoc::clean
.
These implementations all emit HTML. As an internal implementation detail, some of them support an alternate format that emits text, but that should not be used external to this module.
Structs§
- Indent 🔒
- Write
Counter 🔒
Enums§
Traits§
Functions§
- anchor 🔒
- fmt_
type 🔒 - generate_
item_ 🔒def_ id_ path - generate_
macro_ 🔒def_ id_ path - This function is to get the external macro path because they are not in the cache used in
href_with_root_path
. - href 🔒
- href_
relative_ 🔒parts - Both paths should only be modules.
This is because modules get their own directories; that is,
std::vec
andstd::vec::Vec
will both need../iter/trait.Iterator.html
to get at the iterator trait. - href_
with_ 🔒root_ path - join_
with_ 🔒double_ colon - link_
tooltip 🔒 - make_
href 🔒 - primitive_
link 🔒 - primitive_
link_ 🔒fragment - print_
abi_ 🔒with_ space - print_
constness_ 🔒with_ space - print_
default_ 🔒space - print_
generic_ 🔒bounds - print_
higher_ 🔒ranked_ params_ with_ space - print_
where_ 🔒clause - The Generics from which to emit a where-clause.The number of spaces to indent each line with.Whether the where-clause needs to add a comma and newline after the last bound.
- print_
where_ 🔒predicate - resolved_
path 🔒 - Used to render a
clean::Path
. - to_
module_ 🔒fqp - tybounds 🔒
- url_
parts 🔒 - visibility_
print_ 🔒with_ space - write_
str 🔒