pub struct CheckboxScope { /* private fields */ }Expand description
A Checkbox and its builder.
Implementations§
Source§impl CheckboxScope
impl CheckboxScope
Sourcepub fn container_color(self, paint: Paint) -> Self
pub fn container_color(self, paint: Paint) -> Self
The box when it is checked.
Source§impl CheckboxScope
impl CheckboxScope
Sourcepub fn check_color(self, paint: Paint) -> Self
pub fn check_color(self, paint: Paint) -> Self
The check mark.
Source§impl CheckboxScope
impl CheckboxScope
Source§impl CheckboxScope
impl CheckboxScope
Sourcepub fn accessible_name(self, name: impl Into<String>) -> Self
pub fn accessible_name(self, name: impl Into<String>) -> Self
The name assistive technology reads. With no visible label it is the control’s name; with one it replaces the label, and on an icon-only button it is read instead of the icon’s meaning.
Source§impl CheckboxScope
impl CheckboxScope
Trait Implementations§
Source§impl Drop for CheckboxScope
impl Drop for CheckboxScope
Auto Trait Implementations§
impl !RefUnwindSafe for CheckboxScope
impl !Send for CheckboxScope
impl !Sync for CheckboxScope
impl !UnwindSafe for CheckboxScope
impl Forget for CheckboxScope
impl Freeze for CheckboxScope
impl Move for CheckboxScope
impl Unpin for CheckboxScope
impl UnsafeUnpin for CheckboxScope
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