Skip to main content

Outputs

Trait Outputs 

Source
pub trait Outputs {
    // Required method
    fn new() -> Self;

    // Provided methods
    fn message<D: Display>(&self, text: D) { ... }
    fn file_open<D: Display>(&self, text: D) { ... }
    fn file_close<D: Display>(&self, _text: D) { ... }
    fn write_18<D: Display>(&self, text: D) { ... }
    fn write_17<D: Display>(&self, text: D) { ... }
    fn write_16<D: Display>(&self, text: D) { ... }
    fn write_neg1<D: Display>(&self, text: D) { ... }
    fn write_other<D: Display>(&self, text: D) { ... }
}

Required Methods§

Source

fn new() -> Self

Provided Methods§

Source

fn message<D: Display>(&self, text: D)

Source

fn file_open<D: Display>(&self, text: D)

Source

fn file_close<D: Display>(&self, _text: D)

Source

fn write_18<D: Display>(&self, text: D)

Source

fn write_17<D: Display>(&self, text: D)

Source

fn write_16<D: Display>(&self, text: D)

Source

fn write_neg1<D: Display>(&self, text: D)

Source

fn write_other<D: Display>(&self, text: D)

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§