Struct askama_shared::MarkupDisplay
source · [−]Implementations
sourceimpl<E, T> MarkupDisplay<E, T> where
E: Escaper,
T: Display,
impl<E, T> MarkupDisplay<E, T> where
E: Escaper,
T: Display,
pub fn new_unsafe(value: T, escaper: E) -> MarkupDisplay<E, T>
pub fn new_safe(value: T, escaper: E) -> MarkupDisplay<E, T>
pub fn mark_safe(self) -> MarkupDisplay<E, T>
Trait Implementations
Auto Trait Implementations
impl<E, T> RefUnwindSafe for MarkupDisplay<E, T> where
E: RefUnwindSafe,
T: RefUnwindSafe,
impl<E, T> Send for MarkupDisplay<E, T> where
E: Send,
T: Send,
impl<E, T> Sync for MarkupDisplay<E, T> where
E: Sync,
T: Sync,
impl<E, T> Unpin for MarkupDisplay<E, T> where
E: Unpin,
T: Unpin,
impl<E, T> UnwindSafe for MarkupDisplay<E, T> where
E: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more