[−][src]Module rustdoc::html::format

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

Buffer
Function

Wrapper struct for properly emitting a function or method declaration.

WhereClause

Wrapper struct for emitting a where-clause from Generics.

WithFormatter

Traits

Print
PrintWithSpace

Functions

anchor
comma_sep
display_fn
fmt_impl_for_trait_page
fmt_type
href
primitive_link
print_abi_with_space
print_default_space
print_generic_bounds
resolved_path

Used when rendering a ResolvedPath structure. This invokes the path rendering function with the necessary arguments for linking to a local path.

tybounds

Helper to render type parameters