Structs§
- Bind
Node - Binds the output of a child node into the render context without emitting it.
- Choice
Node - Randomly renders one child node from a list of alternatives.
- Processor
Pipeline Node - Applies named processors to a rendered child value from left to right.
- Render
State - Mutable state for one render operation.
- Rule
Call Node - Calls another named rule, or reuses a bound/context value with the same name.
- RuleSet
- Compiled collection of named rules from the config.
- Unsupported
Value Node - Placeholder node for config value types that are not renderable yet.
- Variable
Node - Looks up a previously bound variable in the current render context.
- VecNode
- Renders a sequence of child nodes and concatenates their output.
- Weighted
Choice Node - Randomly renders one child node using per-child weights.
Enums§
- Bind
Mode - Controls whether a binding expression preserves or overwrites an existing value in the render context.
- Copperlace
Number - Numeric scalar used by structured Copperlace values.
- Copperlace
Value - Native Copperlace structured render result.
- Render
Error - Error returned while compiling or rendering Copperlace rules.
- Structured
Node - Compiled structured document tree.
Traits§
- Processor
- String transformer used in template processor pipelines.
- Text
Generator Node - A renderable text-generating piece of a compiled rule.
Functions§
- processor
- Wraps a processor implementation for insertion into a
ProcessorRegistry. - render_
config_ rule - Compiles a parsed configuration root value and renders one rule.
- render_
config_ rule_ structured - Compiles a parsed configuration root value and renders one object-valued rule.
- render_
config_ rule_ structured_ with_ context - Compiles a parsed configuration root value and renders one object-valued rule with initial context.
- render_
config_ rule_ with_ context - Compiles a parsed configuration root value and renders one rule with initial context.
Type Aliases§
- Processor
Registry - Registry mapping processor names to processor implementations.
- Render
Context - Initial variable bindings for one render operation.