pub trait FmtAdapter: Write {
// Provided methods
fn indent(&mut self) -> Indent<'_, Self> { ... }
fn delimit(&mut self, delim: Delimiters) -> Delimit<'_, Self> { ... }
fn delimit_with(
&mut self,
open: &'static str,
close: &'static str,
) -> Delimit<'_, Self> { ... }
}
Provided Methods§
fn indent(&mut self) -> Indent<'_, Self>
fn delimit(&mut self, delim: Delimiters) -> Delimit<'_, Self>
fn delimit_with( &mut self, open: &'static str, close: &'static str, ) -> Delimit<'_, 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.