pub trait ConvertToFmt {
    type Writer: Write;

    // Required method
    fn convert(self) -> Self::Writer;
}

Required Associated Types§

Required Methods§

source

fn convert(self) -> Self::Writer

Implementations on Foreign Types§

source§

impl<'a> ConvertToFmt for &'a mut dyn Write

§

type Writer = WriteAdapter<&'a mut (dyn Write + 'a)>

source§

fn convert(self) -> Self::Writer

source§

impl<'a> ConvertToFmt for &'a mut String

§

type Writer = &'a mut String

source§

fn convert(self) -> Self::Writer

source§

impl<'a> ConvertToFmt for &'a mut File

§

type Writer = WriteAdapter<&'a mut File>

source§

fn convert(self) -> Self::Writer

Implementors§