pub enum LoadingColor {
Default,
Neutral,
Primary,
Secondary,
Accent,
Info,
Success,
Warning,
Error,
}Expand description
Style definitions for the Loading component.
Variants§
Default
Default theme color
Neutral
Neutral gray color scheme
Primary
Primary theme color
Secondary
Secondary theme color
Accent
Accent theme color
Info
Information/info theme color (typically blue)
Success
Success theme color (typically green)
Warning
Warning theme color (typically yellow/orange)
Error
Error theme color (typically red)
Implementations§
Trait Implementations§
Source§impl Clone for LoadingColor
impl Clone for LoadingColor
Source§fn clone(&self) -> LoadingColor
fn clone(&self) -> LoadingColor
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 LoadingColor
impl Debug for LoadingColor
Source§impl Default for LoadingColor
impl Default for LoadingColor
Source§fn default() -> LoadingColor
fn default() -> LoadingColor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LoadingColor
impl RefUnwindSafe for LoadingColor
impl Send for LoadingColor
impl Sync for LoadingColor
impl Unpin for LoadingColor
impl UnsafeUnpin for LoadingColor
impl UnwindSafe for LoadingColor
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
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.