pub struct Style {
pub background: Background,
pub icon_color: Color,
pub border: Border,
pub text_color: Option<Color>,
}Expand description
The style of a checkbox.
Fields§
§background: BackgroundThe Background of the checkbox.
icon_color: ColorThe icon Color of the checkbox.
border: BorderThe Border of the checkbox.
text_color: Option<Color>The text Color of the checkbox.
Trait Implementations§
impl Copy for Style
impl StructuralPartialEq for Style
Auto Trait Implementations§
impl Freeze for Style
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnwindSafe for Style
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