[][src]Struct ddbug::TextPrinter

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

Implementations

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

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

Trait Implementations

impl<'w> Printer for TextPrinter<'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 TextPrinter<'w>[src]

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

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

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

impl<'w> !UnwindSafe for TextPrinter<'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.