pub struct Formatter<'a> { /* private fields */ }Expand description
A plain string writer that render output accumulates into.
Formatter is escaping-agnostic: write_str and
write_char append exactly what they are given. Text
that needs to be made safe for an HTML position is written through an
HtmlWriter created for the matching
HtmlContext instead.
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