pub enum SpinVariant {
Dots,
Line,
Dots2,
Bounce,
Pulse,
Arrows,
Square,
Clock,
Custom(&'static [&'static str]),
}Expand description
Pre-built animation frame sets.
Variants§
Dots
Braille dots spinning clockwise
Line
Left-right line oscillation
Dots2
Braille dots in a different pattern
Bounce
Bouncing ball
Pulse
Expanding pulse bar
Arrows
Rotating arrow
Square
Square toggle
Clock
Clock face (requires emoji font support)
Custom(&'static [&'static str])
Custom user-provided frames
Implementations§
Trait Implementations§
Source§impl Clone for SpinVariant
impl Clone for SpinVariant
Source§fn clone(&self) -> SpinVariant
fn clone(&self) -> SpinVariant
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 SpinVariant
Auto Trait Implementations§
impl Freeze for SpinVariant
impl RefUnwindSafe for SpinVariant
impl Send for SpinVariant
impl Sync for SpinVariant
impl Unpin for SpinVariant
impl UnsafeUnpin for SpinVariant
impl UnwindSafe for SpinVariant
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more