Skip to main content

Clearable

Trait Clearable 

Source
pub trait Clearable {
    // Required methods
    fn clear_to_end_of_screen(&self);
    fn clear_to_begin_of_screen(&self);
    fn clear_screen(&self);
    fn clear_to_end_of_line(&self);
    fn clear_to_begin_of_line(&self);
    fn clear_line(&self);
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§