Skip to main content

ItemC

Type Alias ItemC 

Source
pub type ItemC<'a, C> = Item<'a, Tag<'a, C>>;
Expand description

Item type for tag convertor C.

Aliased Type§

pub enum ItemC<'a, C> {
    PlainText(&'a str),
    Element(Vec<Tag<'a, C>>, Vec<Item<'a, Tag<'a, C>>>),
}

Variants§

§

PlainText(&'a str)

Plain text(escaped) without any style.

§

Element(Vec<Tag<'a, C>>, Vec<Item<'a, Tag<'a, C>>>)

A styled element, contains a series tag name and subitems.