Skip to main content

ToFmtWriter

Trait ToFmtWriter 

Source
pub trait ToFmtWriter: Sized + Write {
    // Required method
    fn to_fmt_writer(self) -> IoWriteAdapter<Self>;
}

Required Methods§

Source

fn to_fmt_writer(self) -> IoWriteAdapter<Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T> ToFmtWriter for T
where T: Write,

Available on crate feature std only.