forc_doc::render::item

Module context

Source
Expand description

Manages how the context of Sway types are rendered on corresponding item pages.

Structs§

Context
The actual context of the item displayed by ItemContext. This uses ContextType to determine how to represent the context of an item.
DocImplTrait
ItemContext
The context section of an item that appears in the page [ItemBody].

Enums§

ContextType
Represents the type of Context for item declarations that have fields, variants or methods, and acts as a wrapper for those values for rendering.