Trait paxakos::node_builder::ExtensibleNodeBuilder
source · [−]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
type DecoratedBuilder<D: Decoration<Decorated = Self::Node> + 'static>
type DecoratedBuilder<D: Decoration<Decorated = Self::Node> + 'static>
Type of this builder after decoration D
is applied.
Required Methods
fn decorated_with<D>(
self,
arguments: <D as Decoration>::Arguments
) -> Self::DecoratedBuilder<D> where
D: Decoration<Decorated = Self::Node, Invocation = InvocationOf<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,
Adds a decoration to wrap around the resulting node.