Struct tree_decorator::DecoratorBuilder [−][src]
pub struct DecoratorBuilder { /* fields omitted */ }
Expand description
Builds a Decorator
and prepares it.
A builder can be created by providing a custom Decorator
through ref or moving value.
By default, StandardDecorator
will be used.
Implementations
Starts builder with a Decorator
static reference.
Defines a default handler to tree items.
Each call to tree_item!
will also call provided handler.
It isn’t required, but can be used to simplify calls.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for DecoratorBuilder
impl !Send for DecoratorBuilder
impl !Sync for DecoratorBuilder
impl Unpin for DecoratorBuilder
impl !UnwindSafe for DecoratorBuilder