[][src]Struct ddbug::HtmlPrinter

pub struct HtmlPrinter<'w> { /* fields omitted */ }

Implementations

impl<'w> HtmlPrinter<'w>[src]

pub fn new(w: &'w mut dyn Write, options: &Options<'_>) -> Self[src]

pub fn begin(&mut self) -> Result<()>[src]

pub fn end(&mut self) -> Result<()>[src]

Trait Implementations

impl<'w> Printer for HtmlPrinter<'w>[src]

pub fn buffer(
    &mut self,
    buf: &mut Vec<u8>,
    f: &mut dyn FnMut(&mut dyn Printer) -> Result<()>
) -> Result<()>
[src]

Calls f to write to a temporary buffer.

Auto Trait Implementations

impl<'w> !RefUnwindSafe for HtmlPrinter<'w>[src]

impl<'w> !Send for HtmlPrinter<'w>[src]

impl<'w> !Sync for HtmlPrinter<'w>[src]

impl<'w> Unpin for HtmlPrinter<'w>[src]

impl<'w> !UnwindSafe for HtmlPrinter<'w>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.