pub enum ProgressVariant {
Default,
Success,
Warning,
Destructive,
Info,
}Variants§
Implementations§
Source§impl ProgressVariant
impl ProgressVariant
pub fn indicator_class(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ProgressVariant
impl Clone for ProgressVariant
Source§fn clone(&self) -> ProgressVariant
fn clone(&self) -> ProgressVariant
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 ProgressVariant
impl Debug for ProgressVariant
Source§impl Default for ProgressVariant
impl Default for ProgressVariant
Source§impl From<String> for ProgressVariant
impl From<String> for ProgressVariant
Source§impl PartialEq for ProgressVariant
impl PartialEq for ProgressVariant
Source§fn eq(&self, other: &ProgressVariant) -> bool
fn eq(&self, other: &ProgressVariant) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ProgressVariant
impl StructuralPartialEq for ProgressVariant
Auto Trait Implementations§
impl Freeze for ProgressVariant
impl RefUnwindSafe for ProgressVariant
impl Send for ProgressVariant
impl Sync for ProgressVariant
impl Unpin for ProgressVariant
impl UnsafeUnpin for ProgressVariant
impl UnwindSafe for ProgressVariant
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 moreSource§impl<T> SerializableKey for T
impl<T> SerializableKey for T
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.