pub struct WidgetAppearance {
pub border_color: Option<Color>,
pub background_color: Option<Color>,
pub border_width: f64,
pub border_style: BorderStyle,
}Expand description
Widget appearance settings
Fields§
§border_color: Option<Color>Border color
background_color: Option<Color>Background color
border_width: f64Border width
border_style: BorderStyleBorder style: S (solid), D (dashed), B (beveled), I (inset), U (underline)
Trait Implementations§
Source§impl Clone for WidgetAppearance
impl Clone for WidgetAppearance
Source§fn clone(&self) -> WidgetAppearance
fn clone(&self) -> WidgetAppearance
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 WidgetAppearance
impl Debug for WidgetAppearance
Auto Trait Implementations§
impl Freeze for WidgetAppearance
impl RefUnwindSafe for WidgetAppearance
impl Send for WidgetAppearance
impl Sync for WidgetAppearance
impl Unpin for WidgetAppearance
impl UnwindSafe for WidgetAppearance
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