pub struct Formatter<'a> { /* private fields */ }Expand description
A string writer for rendered output.
write_str and write_char
append text without escaping. For escaped output, use an
HtmlWriter with the appropriate
HtmlContext.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> !UnwindSafe for Formatter<'a>
impl<'a> Freeze for Formatter<'a>
impl<'a> RefUnwindSafe for Formatter<'a>
impl<'a> Send for Formatter<'a>
impl<'a> Sync for Formatter<'a>
impl<'a> Unpin for Formatter<'a>
impl<'a> UnsafeUnpin for Formatter<'a>
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