Struct contract_build::BuildSteps
source · pub struct BuildSteps {
pub current_step: usize,
pub total_steps: Option<usize>,
}Expand description
Track and display the current and total number of steps.
Fields§
§current_step: usize§total_steps: Option<usize>Implementations§
source§impl BuildSteps
impl BuildSteps
pub fn new() -> Self
pub fn increment_current(&mut self)
pub fn set_total_steps(&mut self, steps: usize)
Trait Implementations§
source§impl Clone for BuildSteps
impl Clone for BuildSteps
source§fn clone(&self) -> BuildSteps
fn clone(&self) -> BuildSteps
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more