Trait rstml_component::HtmlComponent

source ·
pub trait HtmlComponent {
    type Content: HtmlContent;

    // Required method
    fn into_content(self) -> Self::Content;
}

Required Associated Types§

Required Methods§

source

fn into_content(self) -> Self::Content

Implementors§

source§

impl<I, F> HtmlComponent for For<I, F>
where I: IntoIterator, F: FnMut(&mut HtmlFormatter<'_>, <I as IntoIterator>::Item) -> Result,

source§

type Content = For<I, F>