Struct indicatif::DrawState [] [src]

pub struct DrawState {
    pub lines: Vec<String>,
    pub finished: bool,
    pub force_draw: bool,
    pub ts: Instant,
}

The drawn state of an element.

Fields

The lines to print (can contain ANSI codes)

True if the bar no longer needs drawing.

True if drawing should be forced.

Time when the draw state was created.

Methods

impl DrawState
[src]

Trait Implementations

impl Clone for DrawState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more