pub struct CheckboxStyle {
pub transition: Transition,
pub size: f32,
pub color: Color,
pub stroke: f32,
pub background: Color,
pub border_radius: BorderRadius,
pub border_width: BorderWidth,
pub border_color: Color,
}Expand description
The style of a checkbox.
Fields§
§transition: TransitionThe transition of the checkbox.
size: f32The size of the checkbox.
color: ColorThe color of the checkbox.
stroke: f32The stroke width of the checkbox.
background: ColorThe background color.
border_radius: BorderRadiusThe border radius.
border_width: BorderWidthThe border width.
border_color: ColorThe border color.
Trait Implementations§
Source§impl Clone for CheckboxStyle
impl Clone for CheckboxStyle
Source§fn clone(&self) -> CheckboxStyle
fn clone(&self) -> CheckboxStyle
Returns a copy 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 Rebuild for CheckboxStyle
impl Rebuild for CheckboxStyle
Source§fn rebuild(&self, cx: &mut RebuildCx<'_, '_>, old: &CheckboxStyle)
fn rebuild(&self, cx: &mut RebuildCx<'_, '_>, old: &CheckboxStyle)
Rebuild the view.
Source§impl Style for CheckboxStyle
impl Style for CheckboxStyle
Source§fn default_style() -> StyleBuilder<CheckboxStyle>
fn default_style() -> StyleBuilder<CheckboxStyle>
The default style of the object.
Auto Trait Implementations§
impl Freeze for CheckboxStyle
impl RefUnwindSafe for CheckboxStyle
impl Send for CheckboxStyle
impl Sync for CheckboxStyle
impl Unpin for CheckboxStyle
impl UnwindSafe for CheckboxStyle
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