Skip to main content

ProgressColumn

Trait ProgressColumn 

Source
pub trait ProgressColumn: Debug {
    // Required method
    fn render(&self, task: &Task, width: usize, elapsed: Duration) -> String;
}
Expand description

A column in a progress display. Each column renders one cell per task.

Required Methods§

Source

fn render(&self, task: &Task, width: usize, elapsed: Duration) -> String

Render this column for the given task into a string.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§