pub enum FileInputColor {
Default,
Neutral,
Primary,
Secondary,
Accent,
Info,
Success,
Warning,
Error,
}Expand description
§File Input Color Variants
Style enum for daisyUI file input color classes that control the semantic color scheme of file input components. Colors follow daisyUI’s semantic system for context and meaning.
Variants§
Default
Default file input color (no color class applied)
Neutral
Neutral color for subdued file inputs
Primary
Primary brand color for main action file inputs
Secondary
Secondary brand color for secondary file inputs
Accent
Accent brand color for highlighted file inputs
Info
Info color for informational file inputs
Success
Success color for positive action file inputs
Warning
Warning color for cautionary file inputs
Error
Error color for error state file inputs
Implementations§
Trait Implementations§
Source§impl Clone for FileInputColor
impl Clone for FileInputColor
Source§fn clone(&self) -> FileInputColor
fn clone(&self) -> FileInputColor
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 FileInputColor
impl Debug for FileInputColor
Source§impl Default for FileInputColor
impl Default for FileInputColor
Source§fn default() -> FileInputColor
fn default() -> FileInputColor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FileInputColor
impl RefUnwindSafe for FileInputColor
impl Send for FileInputColor
impl Sync for FileInputColor
impl Unpin for FileInputColor
impl UnsafeUnpin for FileInputColor
impl UnwindSafe for FileInputColor
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.