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ยง
- Buffer ๐
- Indent ๐
- Write
Counter ๐
Enumsยง
Traitsยง
- Print ๐
- Print
With ๐Space
Functionsยง
- anchor ๐
- comma_
sep ๐ - display_
fn ๐ - fmt_
type ๐ - 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 - link_
tooltip ๐ - make_
href ๐ - primitive_
link ๐ - print_
abi_ ๐with_ space - print_
default_ ๐space - print_
generic_ ๐bounds - 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. - resolved_
path ๐Used to render aclean::Path
. - to_
module_ ๐fqp - tybounds ๐
- url_
parts ๐