Struct askama_escape::MarkupDisplay
source · pub struct MarkupDisplay<E, T>{ /* private fields */ }
Implementations§
source§impl<E, T> MarkupDisplay<E, T>
impl<E, T> MarkupDisplay<E, T>
pub fn new_unsafe(value: T, escaper: E) -> Self
pub fn new_safe(value: T, escaper: E) -> Self
pub fn mark_safe(self) -> MarkupDisplay<E, T>
Trait Implementations§
source§impl<E, T> Debug for MarkupDisplay<E, T>
impl<E, T> Debug for MarkupDisplay<E, T>
Auto Trait Implementations§
impl<E, T> Freeze for MarkupDisplay<E, T>
impl<E, T> RefUnwindSafe for MarkupDisplay<E, T>where
E: RefUnwindSafe,
T: RefUnwindSafe,
impl<E, T> Send for MarkupDisplay<E, T>
impl<E, T> Sync for MarkupDisplay<E, T>
impl<E, T> Unpin for MarkupDisplay<E, T>
impl<E, T> UnwindSafe for MarkupDisplay<E, T>where
E: UnwindSafe,
T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more