Module render

Source
Expand description

Types and traits used for and during composition rendering.

Modules§

context
Context structs involved during composition rendering.

Structs§

AdhocRenderer
Implements a Renderer via a wrapped closure.
RenderEngine
A mapping of Element to Renderers used to delegate rendering of generic Segments via their Element. Only one Renderer per type is allowed in the current implementation.
RenderSegment
Wraps a Segment with additional render-related information.
RendererGroup
A group of Renderers for a single Renderer::Element. This group is itself a Renderer which renders as a unit, returning crate::error::RendererError if any of its Renderers do.

Traits§

Renderer
Defines render behavior for a specific Element.

Type Aliases§

Result
Result with a default error type of RendererError.