pub enum ButtonClass {
Show 15 variants
Default,
Blue,
Indigo,
Purple,
Pink,
Red,
Orange,
Yellow,
Green,
Teal,
Cyan,
Gray,
Black,
White,
GhostDark,
}Expand description
The class of the first link in a group will be used for the dropdown button * default - Default * blue - Blue * indigo - Indigo * purple - Purple * pink - Pink * red - Red * orange - Orange * yellow - Yellow * green - Green * teal - Teal * cyan - Cyan * gray - Gray * black - Black * white - White * ghost-dark - Link
Variants§
Trait Implementations§
Source§impl Clone for ButtonClass
impl Clone for ButtonClass
Source§fn clone(&self) -> ButtonClass
fn clone(&self) -> ButtonClass
Returns a duplicate of the value. Read more
1.0.0 · 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 ButtonClass
impl Debug for ButtonClass
Source§impl Default for ButtonClass
impl Default for ButtonClass
Source§fn default() -> ButtonClass
fn default() -> ButtonClass
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ButtonClass
impl<'de> Deserialize<'de> for ButtonClass
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for ButtonClass
impl Hash for ButtonClass
Source§impl Ord for ButtonClass
impl Ord for ButtonClass
Source§fn cmp(&self, other: &ButtonClass) -> Ordering
fn cmp(&self, other: &ButtonClass) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ButtonClass
impl PartialEq for ButtonClass
Source§impl PartialOrd for ButtonClass
impl PartialOrd for ButtonClass
Source§impl Serialize for ButtonClass
impl Serialize for ButtonClass
impl Copy for ButtonClass
impl Eq for ButtonClass
impl StructuralPartialEq for ButtonClass
Auto Trait Implementations§
impl Freeze for ButtonClass
impl RefUnwindSafe for ButtonClass
impl Send for ButtonClass
impl Sync for ButtonClass
impl Unpin for ButtonClass
impl UnwindSafe for ButtonClass
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