pub fn println<I: Display>(&self, msg: I) {
        match self.progress_bar.lock().unwrap().upgrade() {
            Some(pb) if pb.is_visible() => {
                pb.set_draw_target(ProgressDrawTarget::hidden());
                println!("{}", msg);
                pb.set_draw_target(ProgressDrawTarget::stderr());
            }
            _ => println!("{}", msg),
        }
    }
/// Prints a message to stdout.
/// Does not interfere with progress bar.
Prints a message to stdout.
Does not interfere with progress bar.
Prints a message to stdout . Does not interfere with progress bar .
pub fn println<I: Display>(&self, msg: I) {
        match self.progress_bar.lock().unwrap().upgrade() {
            Some(pb) if pb.is_visible() => {
                pb.set_draw_target(ProgressDrawTarget::hidden());
                println!("{}", msg);
                pb.set_draw_target(ProgressDrawTarget::stderr());
            }
            _ => println!("{}", msg),
        }
    }
pub fn println < I : Display > ( & self , msg : I ) { match self . progress_bar . lock ( ) . unwrap ( ) . upgrade ( ) { Some ( pb ) if pb . is_visible ( ) => { pb . set_draw_target ( ProgressDrawTarget :: hidden ( ) ) ; println ! ( " " msg ) ; pb . set_draw_target ( ProgressDrawTarget :: stderr ( ) ) ; } _ => println ! ( " " msg ) , } }
Prints a message to stdout.
Prints a message to stdout .
&self
msg
I
&self
msg
I