pub trait ExtensibleNodeBuilder {
    type Node: NodeImpl;
    type DecoratedBuilder<D: Decoration<Decorated = Self::Node> + 'static>;

    fn decorated_with<D>(
        self,
        arguments: <D as Decoration>::Arguments
    ) -> Self::DecoratedBuilder<D>
    where
        D: Decoration<Decorated = Self::Node, Invocation = InvocationOf<Self::Node>> + 'static
; }
Expand description

Declares the decorated_with method to add decorations to the node being built.

Required Associated Types

Node type without decoration applied.

Type of this builder after decoration D is applied.

Required Methods

Adds a decoration to wrap around the resulting node.

Implementors