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(LocatedSpan<&'a str, usize>),
    Element(Vec<Tag<'a, C>>, Vec<Item<'a, Tag<'a, C>>>),
}

Variants§

§

PlainText(LocatedSpan<&'a str, usize>)

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.