[][src]Trait render_tree::prelude::BlockComponent

pub trait BlockComponent: Sized {
    fn append(
        self,
        block: impl FnOnce(Document) -> Document,
        document: Document
    ) -> Document; fn with<F: FnOnce(Document) -> Document>(
        component: Self,
        block: F
    ) -> CurriedBlockComponent<Self, F> { ... } }

Required methods

fn append(
    self,
    block: impl FnOnce(Document) -> Document,
    document: Document
) -> Document

Loading content...

Provided methods

fn with<F: FnOnce(Document) -> Document>(
    component: Self,
    block: F
) -> CurriedBlockComponent<Self, F>

Loading content...

Implementors

impl BlockComponent for Section
[src]

fn with<F: FnOnce(Document) -> Document>(
    component: Self,
    block: F
) -> CurriedBlockComponent<Self, F>
[src]

Loading content...