pub struct CheckBoxAppearance {
pub check_style: CheckStyle,
pub check_color: Color,
}Expand description
Checkbox appearance generator
Fields§
§check_style: CheckStyleCheck mark style
check_color: ColorCheck color
Trait Implementations§
Source§impl AppearanceGenerator for CheckBoxAppearance
impl AppearanceGenerator for CheckBoxAppearance
Source§fn generate_appearance(
&self,
widget: &Widget,
value: Option<&str>,
_state: AppearanceState,
) -> Result<AppearanceStream>
fn generate_appearance( &self, widget: &Widget, value: Option<&str>, _state: AppearanceState, ) -> Result<AppearanceStream>
Generate appearance stream for the field
Auto Trait Implementations§
impl Freeze for CheckBoxAppearance
impl RefUnwindSafe for CheckBoxAppearance
impl Send for CheckBoxAppearance
impl Sync for CheckBoxAppearance
impl Unpin for CheckBoxAppearance
impl UnsafeUnpin for CheckBoxAppearance
impl UnwindSafe for CheckBoxAppearance
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