pub enum ProgressDrawTarget {
Stderr,
Writer {
buffer: Arc<Mutex<Vec<u8>>>,
},
}Variants§
Stderr
Draw to stderr (default).
Writer
Draw to an in-memory writer (intended for deterministic tests).
Implementations§
Trait Implementations§
Source§impl Clone for ProgressDrawTarget
impl Clone for ProgressDrawTarget
Source§fn clone(&self) -> ProgressDrawTarget
fn clone(&self) -> ProgressDrawTarget
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ProgressDrawTarget
impl RefUnwindSafe for ProgressDrawTarget
impl Send for ProgressDrawTarget
impl Sync for ProgressDrawTarget
impl Unpin for ProgressDrawTarget
impl UnsafeUnpin for ProgressDrawTarget
impl UnwindSafe for ProgressDrawTarget
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more