FormatterExt

Trait FormatterExt 

Source
pub trait FormatterExt: Formatter {
    // Provided methods
    fn labeled(&mut self, label: &str) -> LabeledScope<&mut Self> { ... }
    fn into_labeled(self, label: &str) -> LabeledScope<Self>
       where Self: Sized { ... }
}
Expand description

Formatter adapters.

Provided Methods§

Source

fn labeled(&mut self, label: &str) -> LabeledScope<&mut Self>

Source

fn into_labeled(self, label: &str) -> LabeledScope<Self>
where Self: Sized,

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§