Module rustdoc::html::format [−][src]
HTML formatting module
This module contains a large number of fmt::Display
implementations for
various types in rustdoc::clean
. These implementations all currently
assume that HTML output is desired, although it may be possible to redesign
them in the future to instead emit any format desired.
Structs
AbiSpace | |
AsyncSpace |
Similarly to VisSpace, this structure is used to render a function asyncness with a space after it. |
CommaSep |
Wrapper struct for emitting a comma-separated list of items |
ConstnessSpace |
Similarly to VisSpace, this structure is used to render a function constness with a space after it. |
GenericBounds |
Wrapper struct for emitting type parameter bounds. |
HRef | |
Method |
Wrapper struct for properly emitting a method declaration. |
MutableSpace |
Similar to VisSpace, but used for mutability |
RawMutableSpace |
Similar to VisSpace, but used for mutability |
UnsafetySpace |
Similarly to VisSpace, this structure is used to render a function style with a space after it. |
VisSpace |
Helper to render an optional visibility with a space after it (if the visibility is preset) |
WhereClause |
Wrapper struct for emitting a where clause from Generics. |
Functions
fmt_impl | |
fmt_impl_for_trait_page | |
fmt_type | |
href | |
primitive_link | |
resolved_path |
Used when rendering a |
tybounds |
Helper to render type parameters |