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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.