pub struct CheckboxBuilder<'a> { /* private fields */ }Expand description
Chainable checkbox.
Implementations§
Source§impl<'a> CheckboxBuilder<'a>
impl<'a> CheckboxBuilder<'a>
Source§impl<'a> CheckboxBuilder<'a>
impl<'a> CheckboxBuilder<'a>
Sourcepub fn checked(self, on: bool) -> Self
pub fn checked(self, on: bool) -> Self
Checked, ignored when CheckboxBuilder::bind is set.
Sourcepub fn bind(self, flag: &'a mut bool) -> Self
pub fn bind(self, flag: &'a mut bool) -> Self
Read *flag for paint and flip it when the box was clicked.
Sourcepub fn kind(self, k: CheckboxRenderKind<'a>) -> Self
pub fn kind(self, k: CheckboxRenderKind<'a>) -> Self
Render kind.
Sourcepub fn settings(self, s: CheckboxSettings) -> Self
pub fn settings(self, s: CheckboxSettings) -> Self
Full settings.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for CheckboxBuilder<'a>
impl<'a> !Send for CheckboxBuilder<'a>
impl<'a> !Sync for CheckboxBuilder<'a>
impl<'a> !UnwindSafe for CheckboxBuilder<'a>
impl<'a> Forget for CheckboxBuilder<'a>
impl<'a> Freeze for CheckboxBuilder<'a>
impl<'a> Move for CheckboxBuilder<'a>
impl<'a> Unpin for CheckboxBuilder<'a>
impl<'a> UnsafeUnpin for CheckboxBuilder<'a>
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