pub enum Pip {
Busy,
Progress(f32),
Done,
Failed,
}Expand description
An activity pip’s state.
Variants§
Busy
A turning arc (still under reduced motion).
Progress(f32)
A ring filled from the top, 0 to 1.
Done
A tick (success).
Failed
A cross in a circle (danger).
Implementations§
Trait Implementations§
impl Copy for Pip
impl StructuralPartialEq for Pip
Auto Trait Implementations§
impl Freeze for Pip
impl RefUnwindSafe for Pip
impl Send for Pip
impl Sync for Pip
impl Unpin for Pip
impl UnsafeUnpin for Pip
impl UnwindSafe for Pip
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