Trait ConvertToFmt

Source
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 String

Source§

type Writer = &'a mut String

Source§

fn convert(self) -> Self::Writer

Source§

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

Source§

type Writer = WriteAdapter<&'a mut File>

Source§

fn convert(self) -> Self::Writer

Source§

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

Source§

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

Source§

fn convert(self) -> Self::Writer

Implementors§