Struct tree_decorator::ElementHandler [−][src]
pub struct ElementHandler { /* fields omitted */ }
Expand description
Handle tree elements by applying styles.
Implementations
Apply provided Style
and returns it’s representation.
It’ll call current defined Decorator::item
(defined with DecoratorBuilder::build
)
to prepare current style and block level representation combining it with message
contents.
Every previous block levels, if applicable, with it’s styles, will be combined also to the final result.
message
contents will not change and it doesn’t matter to style apply.
Close item blocks.
Auto Trait Implementations
impl !RefUnwindSafe for ElementHandler
impl !Send for ElementHandler
impl !Sync for ElementHandler
impl Unpin for ElementHandler
impl !UnwindSafe for ElementHandler