Skip to main content

Ui

Trait Ui 

Source
pub trait Ui {
    // Required methods
    fn write_str(&self, content: &str);
    fn write_err_str(&self, content: &str);
    fn write_str_ln(&self, content: &str);
    fn write_err_str_ln(&self, content: &str);
}

Required Methods§

Source

fn write_str(&self, content: &str)

Source

fn write_err_str(&self, content: &str)

Source

fn write_str_ln(&self, content: &str)

Source

fn write_err_str_ln(&self, content: &str)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§