pub enum StylesStyle {
Primary,
Secondary,
Tertiary,
}Expand description
The style to use, the component will be changed according to the theme.
Variants§
Trait Implementations§
Source§impl Clone for StylesStyle
impl Clone for StylesStyle
impl Copy for StylesStyle
Source§impl Debug for StylesStyle
impl Debug for StylesStyle
Source§impl<'de> Deserialize<'de> for StylesStyle
impl<'de> Deserialize<'de> for StylesStyle
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
impl Eq for StylesStyle
Source§impl From<&StylesStyle> for StylesStyle
impl From<&StylesStyle> for StylesStyle
Source§fn from(value: &StylesStyle) -> Self
fn from(value: &StylesStyle) -> Self
Converts to this type from the input type.
Source§impl FromStr for StylesStyle
impl FromStr for StylesStyle
Source§impl Hash for StylesStyle
impl Hash for StylesStyle
Source§impl Ord for StylesStyle
impl Ord for StylesStyle
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for StylesStyle
impl PartialEq for StylesStyle
Source§impl PartialOrd for StylesStyle
impl PartialOrd for StylesStyle
Source§impl Serialize for StylesStyle
impl Serialize for StylesStyle
impl StructuralPartialEq for StylesStyle
Source§impl ToString for StylesStyle
impl ToString for StylesStyle
Source§impl TryFrom<&String> for StylesStyle
impl TryFrom<&String> for StylesStyle
Source§impl TryFrom<&str> for StylesStyle
impl TryFrom<&str> for StylesStyle
Auto Trait Implementations§
impl Freeze for StylesStyle
impl RefUnwindSafe for StylesStyle
impl Send for StylesStyle
impl Sync for StylesStyle
impl Unpin for StylesStyle
impl UnsafeUnpin for StylesStyle
impl UnwindSafe for StylesStyle
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