decorators

Treat component as a chain of decorated entities and express this as a range of decorators.

  1. DecoratorChain!(ComponentType, DecoratorType) decorators(ComponentType component)
    DecoratorChain!(ComponentType, DecoratorType)
    decorators
    (
    DecoratorType
    ComponentType
    )
    (
    ComponentType component
    )
  2. struct DecoratorChain(ComponentType, DecoratorType)

Parameters

ComponentType

The original type of component attempted to interpret as a range of decorators.

DecoratorType

type each decorator in decorator chain.

component ComponentType

component to express as a range of decorators.

Return Value

Type: DecoratorChain!(ComponentType, DecoratorType)

DecoratorChain!(ComponentType, DecoratorType) the range.

Meta