Module rustdoc::html::format[src]

HTML formatting module

This module contains a large number of fmt::Show 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

FnStyleSpace

Similarly to VisSpace, this structure is used to render a function style with a space after it.

Method

Wrapper struct for properly emitting a method declaration.

MutableSpace

Similar to VisSpace, but used for mutability

VisSpace

Helper to render an optional visibility with a space after it (if the visibility is preset)