pub enum ActionStyle {
Primary,
Secondary,
Danger,
Link,
}Expand description
How an action’s button looks.
Variants§
Trait Implementations§
Source§impl Clone for ActionStyle
impl Clone for ActionStyle
Source§fn clone(&self) -> ActionStyle
fn clone(&self) -> ActionStyle
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 ActionStyle
impl Debug for ActionStyle
Source§impl Default for ActionStyle
impl Default for ActionStyle
Source§fn default() -> ActionStyle
fn default() -> ActionStyle
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActionStyle
impl<'de> Deserialize<'de> for ActionStyle
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 ActionStyle
impl PartialEq for ActionStyle
Source§impl Serialize for ActionStyle
impl Serialize for ActionStyle
impl Copy for ActionStyle
impl Eq for ActionStyle
impl StructuralPartialEq for ActionStyle
Auto Trait Implementations§
impl Freeze for ActionStyle
impl RefUnwindSafe for ActionStyle
impl Send for ActionStyle
impl Sync for ActionStyle
impl Unpin for ActionStyle
impl UnsafeUnpin for ActionStyle
impl UnwindSafe for ActionStyle
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