Module documentable_formatter

Module documentable_formatter 

Source

Structs§

HirFormatter
Documentable items signature formatter.

Traits§

HirDisplay

Functions§

get_item_signature
Gets the signature of an item (i.e., item without its body).
get_item_signature_with_links
Gets the signature of an item and a list of LocationLinks to enable mapping signature slices on documentable items.
get_syntactic_visibility
Formats the text of the Visibility to a relevant string slice.