pub struct Html(/* private fields */);Expand description
Pre-escaped HTML content. Columbo’s canonical markup type.
This is a thin wrapper around a String that represents raw HTML. No
escaping is performed — the caller is responsible for ensuring the content
is safe.
External types convert into Html via From implementations:
From<String>andFrom<&str>for raw HTML strings.From<maud::Markup>when themaudfeature is enabled.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Html
impl RefUnwindSafe for Html
impl Send for Html
impl Sync for Html
impl Unpin for Html
impl UnsafeUnpin for Html
impl UnwindSafe for Html
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