pub struct InsideTagHtml<'a, 't, W: Write> { /* private fields */ }
Expand description
Represents the environment inside a tag.
Trait Implementations§
Source§impl<'a, 't, W: Write> Drop for InsideTagHtml<'a, 't, W>
impl<'a, 't, W: Write> Drop for InsideTagHtml<'a, 't, W>
Auto Trait Implementations§
impl<'a, 't, W> Freeze for InsideTagHtml<'a, 't, W>
impl<'a, 't, W> RefUnwindSafe for InsideTagHtml<'a, 't, W>where
W: RefUnwindSafe,
impl<'a, 't, W> Send for InsideTagHtml<'a, 't, W>where
W: Send,
impl<'a, 't, W> Sync for InsideTagHtml<'a, 't, W>where
W: Sync,
impl<'a, 't, W> Unpin for InsideTagHtml<'a, 't, W>
impl<'a, 't, W> !UnwindSafe for InsideTagHtml<'a, 't, W>
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
Source§impl<W> HtmlEnv for Wwhere
W: Write,
impl<W> HtmlEnv for Wwhere
W: Write,
Source§fn write_html_text<'s>(&'s mut self) -> HtmlEscaper<'s, Self>
fn write_html_text<'s>(&'s mut self) -> HtmlEscaper<'s, Self>
Lets you write text into the HTML document, escaping it as necessary. Read more
Source§fn open_tag<'s, 't>(
&'s mut self,
tag: &'t str,
compactability: Compactability,
) -> Result<TagOpening<'s, 't, Self>, Error>
fn open_tag<'s, 't>( &'s mut self, tag: &'t str, compactability: Compactability, ) -> Result<TagOpening<'s, 't, Self>, Error>
Returns a tag opening, which lets you write attributes and inner HTML. Read more