Expand description
Core library for redact_composer
. Lib-level crates should depend on this rather than the
application-level redact_composer
.
Modules§
- derive
- Contains the derive macro of
Element
. Specifically kept separate in core, so exporting trait vs macro can be done separately - elements
- Core types implementing
Element
. - error
- Error types.
- render
- Types and traits used for and during composition rendering.
- timing
- Timing related structs and elements.
- util
- Re-exports of non-deterministic
std::collections
, with deterministic defaults.
Structs§
- Composer
- Provides methods to create compositions using a
RenderEngine
and itsRenderer
s. - Composer
Options - Options used by a
Composer
. - Composition
- A composition output, including the tree of rendered segments, produced from
Composer::compose
. - Composition
Options - Options used during the rendering of a
Composition
. - Segment
- A (type-erased)
Element
spanning aTiming
interval. - Segment
Ref - A typed view of a
Segment
(references to its fields).
Enums§
- Part
Type - Indicates whether a part is an instrument, or percussion.
Traits§
- AsAny
- Convenience trait for converting to [
&dyn Any
]. - Element
- Marker trait for any type that will be used as a composition element.
- Into
Segment - Conversion methods to create a
Segment
from aElement
.