pub struct TextFilter { /* private fields */ }Expand description
Wraps plain-text chunks in <pre> / </pre> HTML.
Produces the opening <pre> on the first chunk and </pre> only when
TextFilter::finish is called.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextFilter
impl RefUnwindSafe for TextFilter
impl Send for TextFilter
impl Sync for TextFilter
impl Unpin for TextFilter
impl UnsafeUnpin for TextFilter
impl UnwindSafe for TextFilter
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