Struct cursive::views::Counter [] [src]

pub struct Counter(pub Arc<AtomicUsize>);

Atomic counter used by ProgressBar.

Methods

impl Counter
[src]

Creates a new Counter starting with the given value.

Retrieves the current progress value.

Sets the current progress value.

Increase the current progress by ticks.

Trait Implementations

impl Clone for Counter
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more