Enum askama::MarkupDisplay[]

pub enum MarkupDisplay<T> where
    T: Display
{ Safe(T), Unsafe(T), }

Variants

Methods

impl<T> MarkupDisplay<T> where
    T: Display

Trait Implementations

impl<T> Debug for MarkupDisplay<T> where
    T: Debug + Display

Formats the value using the given formatter. Read more

impl<T> From<T> for MarkupDisplay<T> where
    T: Display

Performs the conversion.

impl<T> Display for MarkupDisplay<T> where
    T: Display

Formats the value using the given formatter. Read more

impl<T> PartialEq<MarkupDisplay<T>> for MarkupDisplay<T> where
    T: PartialEq<T> + Display

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl<T> Send for MarkupDisplay<T> where
    T: Send

impl<T> Sync for MarkupDisplay<T> where
    T: Sync