Skip to main content

Output

Trait Output 

Source
pub trait Output {
    type Formatter;
    type Error;

    // Required method
    fn fmt(&self, f: &mut Self::Formatter) -> Result<(), Self::Error>;
}
Expand description

Represents the ability to convert some data into some other output form

Required Associated Types§

Required Methods§

Source

fn fmt(&self, f: &mut Self::Formatter) -> Result<(), Self::Error>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§