pub enum SpinnerStyle {
Dots,
Arrows,
Bounce,
Ascii,
}Expand description
Spinner animation style.
Variants§
Dots
Unicode braille dots animation (⠋ ⠙ ⠹ ⠸ ⠼ ⠴ ⠦ ⠧ ⠇ ⠏).
Arrows
Arrow rotation (← ↖ ↑ ↗ → ↘ ↓ ↙).
Bounce
Bouncing bar animation ([= ] [== ] …).
Ascii
Simple ASCII rotation (| / - ).
Trait Implementations§
Source§impl Clone for SpinnerStyle
impl Clone for SpinnerStyle
Source§fn clone(&self) -> SpinnerStyle
fn clone(&self) -> SpinnerStyle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SpinnerStyle
impl Debug for SpinnerStyle
Source§impl Default for SpinnerStyle
impl Default for SpinnerStyle
Source§fn default() -> SpinnerStyle
fn default() -> SpinnerStyle
Returns the “default value” for a type. Read more
Source§impl PartialEq for SpinnerStyle
impl PartialEq for SpinnerStyle
Source§fn eq(&self, other: &SpinnerStyle) -> bool
fn eq(&self, other: &SpinnerStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SpinnerStyle
impl Eq for SpinnerStyle
impl StructuralPartialEq for SpinnerStyle
Auto Trait Implementations§
impl Freeze for SpinnerStyle
impl RefUnwindSafe for SpinnerStyle
impl Send for SpinnerStyle
impl Sync for SpinnerStyle
impl Unpin for SpinnerStyle
impl UnsafeUnpin for SpinnerStyle
impl UnwindSafe for SpinnerStyle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.