Struct display_as_template::HTML
source · pub struct HTML;
Expand description
Format as HTML.
Trait Implementations
sourceimpl Format for HTML
impl Format for HTML
sourcefn escape(f: &mut Formatter<'_>, s: &str) -> Result<(), Error>
fn escape(f: &mut Formatter<'_>, s: &str) -> Result<(), Error>
“Escape” the given string so it can be safely displayed in
this format. The precise meaning of this may vary from format
to format, but the general sense is that this string does not
have any internal formatting, and must be displayed
appropriately. Read more
sourcefn this_format() -> HTML
fn this_format() -> HTML
Return an actual
Format
for use in As
below.Auto Trait Implementations
impl RefUnwindSafe for HTML
impl Send for HTML
impl Sync for HTML
impl Unpin for HTML
impl UnwindSafe for HTML
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more