pub struct ButtonTheme {
pub background: Color,
pub background_hovered: Color,
pub background_pressed: Color,
pub label_color: Color,
pub border_radius: f64,
pub focus_ring_color: Color,
pub focus_ring_width: f64,
}Expand description
A theme for Button visual states.
Fields§
§background: Color§background_hovered: Color§background_pressed: Color§label_color: Color§border_radius: f64§focus_ring_color: Color§focus_ring_width: f64Trait Implementations§
Auto Trait Implementations§
impl Freeze for ButtonTheme
impl RefUnwindSafe for ButtonTheme
impl Send for ButtonTheme
impl Sync for ButtonTheme
impl Unpin for ButtonTheme
impl UnsafeUnpin for ButtonTheme
impl UnwindSafe for ButtonTheme
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