pub enum ButtonHierarchy {
Primary,
SecondaryColor,
SecondaryGray,
TertiaryColor,
TertiaryGray,
LinkColor,
LinkGray,
Destructive,
}Variants§
Trait Implementations§
Source§impl Clone for ButtonHierarchy
impl Clone for ButtonHierarchy
Source§fn clone(&self) -> ButtonHierarchy
fn clone(&self) -> ButtonHierarchy
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 ButtonHierarchy
impl Debug for ButtonHierarchy
Source§impl Default for ButtonHierarchy
impl Default for ButtonHierarchy
Source§fn default() -> ButtonHierarchy
fn default() -> ButtonHierarchy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ButtonHierarchy
impl<'de> Deserialize<'de> for ButtonHierarchy
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 PartialEq for ButtonHierarchy
impl PartialEq for ButtonHierarchy
Source§fn eq(&self, other: &ButtonHierarchy) -> bool
fn eq(&self, other: &ButtonHierarchy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ButtonHierarchy
impl Serialize for ButtonHierarchy
impl Copy for ButtonHierarchy
impl Eq for ButtonHierarchy
impl StructuralPartialEq for ButtonHierarchy
Auto Trait Implementations§
impl Freeze for ButtonHierarchy
impl RefUnwindSafe for ButtonHierarchy
impl Send for ButtonHierarchy
impl Sync for ButtonHierarchy
impl Unpin for ButtonHierarchy
impl UnsafeUnpin for ButtonHierarchy
impl UnwindSafe for ButtonHierarchy
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