Skip to main content

Module display

Module display 

Source
Expand description

The HirDisplay trait, which serves two purposes: Turning various bits from HIR back into source code, and just displaying them for debugging/testing purposes.

Structsยง

DisplayTarget
ExpressionStoreAdapter ๐Ÿ”’
HirDisplayWrapper
HirFormatter

Enumsยง

ClosureStyle
DisplayKind
DisplayLifetime
DisplaySourceCodeError
HirDisplayError
SizedByDefault

Constantsยง

TYPE_HINT_TRUNCATION ๐Ÿ”’

Traitsยง

HirDisplay
HirDisplayWithExpressionStore
HirWrite

Functionsยง

async_gen_item_ty_from_yield_ty ๐Ÿ”’
generic_args_sans_defaults ๐Ÿ”’
hir_display_with_store
hir_fmt_generic_args ๐Ÿ”’
hir_fmt_generic_arguments ๐Ÿ”’
hir_fmt_generics ๐Ÿ”’
hir_fmt_tys ๐Ÿ”’
render_const_scalar ๐Ÿ”’
render_const_scalar_from_valtree ๐Ÿ”’
render_const_scalar_from_valtree_inner ๐Ÿ”’
render_const_scalar_inner ๐Ÿ”’
render_variant_after_name ๐Ÿ”’
trait_bounds_need_parens ๐Ÿ”’
write_bounds_like_dyn_trait ๐Ÿ”’
write_bounds_like_dyn_trait_with_prefix
write_params_bounds
write_projection ๐Ÿ”’
write_visibility

Type Aliasesยง

Result