pub enum PaintTarget {
Stdout,
Stderr,
Hidden,
}Expand description
Target for paint operations.
This tells a Spinner object where to paint to.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PaintTarget
impl Clone for PaintTarget
Source§fn clone(&self) -> PaintTarget
fn clone(&self) -> PaintTarget
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 moreSource§impl From<PaintTarget> for ProgressDrawTarget
impl From<PaintTarget> for ProgressDrawTarget
Source§fn from(value: PaintTarget) -> Self
fn from(value: PaintTarget) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PaintTarget
impl RefUnwindSafe for PaintTarget
impl Send for PaintTarget
impl Sync for PaintTarget
impl Unpin for PaintTarget
impl UnwindSafe for PaintTarget
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