pub enum ButtonStyle {
Primary,
Secondary,
Destructive,
Small,
Plain,
PlainSmall,
Outline,
}Variants§
Primary
Secondary
Destructive
Small
A small secondary button, for an action on the row it sits in.
Plain
The plain button of the system’s controls, unframed in style.
PlainSmall
A plain button in the small text size.
Outline
Outlined in the accent colour: takes what is picked in the view.
Trait Implementations§
Source§impl Clone for ButtonStyle
impl Clone for ButtonStyle
impl Copy for ButtonStyle
Source§impl Debug for ButtonStyle
impl Debug for ButtonStyle
Source§impl Default for ButtonStyle
impl Default for ButtonStyle
Source§impl<'de> Deserialize<'de> for ButtonStyle
impl<'de> Deserialize<'de> for ButtonStyle
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 ButtonStyle
Source§impl PartialEq for ButtonStyle
impl PartialEq for ButtonStyle
Source§impl Serialize for ButtonStyle
impl Serialize for ButtonStyle
impl StructuralPartialEq for ButtonStyle
Auto Trait Implementations§
impl Forget for ButtonStyle
impl Freeze for ButtonStyle
impl Move for ButtonStyle
impl RefUnwindSafe for ButtonStyle
impl Send for ButtonStyle
impl Sync for ButtonStyle
impl Unpin for ButtonStyle
impl UnsafeUnpin for ButtonStyle
impl UnwindSafe for ButtonStyle
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