pub enum SpinnerType {
Standard,
Dots,
Box,
Flip,
Custom(&'static [&'static str]),
}
Expand description
Enumeration representing different types of spinners.
Variants§
Standard
Spinner with characters /
-
\
|
.
Dots
Spinner with dots .
..
...
.....
.
Box
Spinner with box characters ▌
▀
▐
▄
.
Flip
Spinner with flip characters _
_
_
-
\
'
´
-
_
_
_
.
Custom(&'static [&'static str])
Custom spinner with user-defined frames.
Implementations§
Trait Implementations§
Source§impl Clone for SpinnerType
impl Clone for SpinnerType
Source§fn clone(&self) -> SpinnerType
fn clone(&self) -> SpinnerType
Returns a copy 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 SpinnerType
impl RefUnwindSafe for SpinnerType
impl Send for SpinnerType
impl Sync for SpinnerType
impl Unpin for SpinnerType
impl UnwindSafe for SpinnerType
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