pub struct DisplayUnescape<'a> { /* private fields */ }
Expand description
A wrapper for an Unescape
iterator that implements fmt::Display
.
This struct is created by the Unescape::display_utf8()
method. It allows for
printing the unescaped content directly to a formatter, which avoids
any heap allocations. The unescaping and UTF-8 decoding are performed on-the-fly as the
fmt
method is called.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DisplayUnescape<'a>
impl<'a> RefUnwindSafe for DisplayUnescape<'a>
impl<'a> Send for DisplayUnescape<'a>
impl<'a> Sync for DisplayUnescape<'a>
impl<'a> Unpin for DisplayUnescape<'a>
impl<'a> UnwindSafe for DisplayUnescape<'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