pub enum ButtonStyle {
Automatic,
Bordered,
Borderless,
}Expand description
How a button is drawn, mapped to each platform’s native look.
Variants§
Automatic
The same as Bordered, on every platform.
Bordered
The platform’s push button, with its bezel or frame.
Borderless
No bezel or frame until hovered, where the platform does that: for toolbars, and buttons that sit among text.
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
impl Eq for ButtonStyle
Source§impl Hash for ButtonStyle
impl Hash for ButtonStyle
Source§impl IntoValue<ButtonStyle> for ButtonStyle
impl IntoValue<ButtonStyle> for ButtonStyle
fn into_value(self) -> Value<ButtonStyle>
Source§impl PartialEq for ButtonStyle
impl PartialEq for ButtonStyle
impl StructuralPartialEq for ButtonStyle
Auto Trait Implementations§
impl Freeze 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