#[repr(u8)]pub enum ProgressType {
Spinner = 0,
Bar = 1,
}Expand description
Defines the behavior/visualization hint for the progress indicator.
Variants§
Spinner = 0
A spinner, used when the total number of items is unknown.
Bar = 1
A progress bar, used when the total is known.
Trait Implementations§
Source§impl Clone for ProgressType
impl Clone for ProgressType
Source§fn clone(&self) -> ProgressType
fn clone(&self) -> ProgressType
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 Debug for ProgressType
impl Debug for ProgressType
Source§impl Default for ProgressType
impl Default for ProgressType
Source§fn default() -> ProgressType
fn default() -> ProgressType
Returns the “default value” for a type. Read more
Source§impl PartialEq for ProgressType
impl PartialEq for ProgressType
impl Copy for ProgressType
impl Eq for ProgressType
impl StructuralPartialEq for ProgressType
Auto Trait Implementations§
impl Freeze for ProgressType
impl RefUnwindSafe for ProgressType
impl Send for ProgressType
impl Sync for ProgressType
impl Unpin for ProgressType
impl UnwindSafe for ProgressType
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