pub enum IndicatorStyle {
Spinner,
Dots,
Line,
Box,
Circle,
}Expand description
Animation style for the loading indicator.
Variants§
Spinner
Braille spinner: ⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏
Dots
Braille dots: ⠁⠂⠄⡀⢀⠠⠐⠈
Line
Line rotation: ─|/
Box
Box rotation: ▖▘▝▗
Circle
Circle rotation: ◐◓◑◒
Trait Implementations§
Source§impl Clone for IndicatorStyle
impl Clone for IndicatorStyle
Source§fn clone(&self) -> IndicatorStyle
fn clone(&self) -> IndicatorStyle
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 moreimpl Copy for IndicatorStyle
Source§impl Debug for IndicatorStyle
impl Debug for IndicatorStyle
impl Eq for IndicatorStyle
Source§impl PartialEq for IndicatorStyle
impl PartialEq for IndicatorStyle
Source§fn eq(&self, other: &IndicatorStyle) -> bool
fn eq(&self, other: &IndicatorStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IndicatorStyle
Auto Trait Implementations§
impl Freeze for IndicatorStyle
impl RefUnwindSafe for IndicatorStyle
impl Send for IndicatorStyle
impl Sync for IndicatorStyle
impl Unpin for IndicatorStyle
impl UnsafeUnpin for IndicatorStyle
impl UnwindSafe for IndicatorStyle
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