[][src]Enum ritz::HtmlContent

pub enum HtmlContent<'a> {
    Tag(HtmlTag<'a>),
    SelfClosingTag(HtmlSelfClosingTag<'a>),
    EscapedText(EscapedText<'a>),
    UnescapedText(UnescapedText<'a>),
    Fragment(Fragment<'a>),
    None,
}

Variants

Tag(HtmlTag<'a>)SelfClosingTag(HtmlSelfClosingTag<'a>)EscapedText(EscapedText<'a>)UnescapedText(UnescapedText<'a>)Fragment(Fragment<'a>)None

Trait Implementations

impl<'a> From<HtmlTag<'a>> for HtmlContent<'a>[src]

impl<'a> From<HtmlSelfClosingTag<'a>> for HtmlContent<'a>[src]

impl<'a> From<Fragment<'a>> for HtmlContent<'a>[src]

impl<'a> From<UnescapedText<'a>> for HtmlContent<'a>[src]

impl<'a> From<Option<HtmlContent<'a>>> for HtmlContent<'a>[src]

impl<'a> From<&'a str> for HtmlContent<'a>[src]

impl From<String> for HtmlContent<'static>[src]

impl<'a> From<&'a String> for HtmlContent<'a>[src]

impl<'a> From<Cow<'a, str>> for HtmlContent<'a>[src]

impl<'a> From<&'a &'static str> for HtmlContent<'static>[src]

impl<'a> PartialEq<HtmlContent<'a>> for HtmlContent<'a>[src]

impl<'a> IntoIterator for HtmlContent<'a>[src]

type Item = HtmlContent<'a>

The type of the elements being iterated over.

type IntoIter = HtmlContentIntoIter<'a>

Which kind of iterator are we turning this into?

impl<'a> FromIterator<HtmlContent<'a>> for Fragment<'a>[src]

impl<'a> Debug for HtmlContent<'a>[src]

impl<'a> Display for HtmlContent<'a>[src]

Auto Trait Implementations

impl<'a> Send for HtmlContent<'a>

impl<'a> Sync for HtmlContent<'a>

Blanket Implementations

impl<T> From for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.