#[repr(C)]pub struct CheckBox {
pub check_box_state: CheckBoxStateWrapper,
pub container_style: CssPropertyWithConditionsVec,
pub content_style: CssPropertyWithConditionsVec,
}Fields§
§check_box_state: CheckBoxStateWrapper§container_style: CssPropertyWithConditionsVecStyle for the checkbox container
content_style: CssPropertyWithConditionsVecStyle for the checkbox content
Implementations§
Source§impl CheckBox
impl CheckBox
pub fn create(checked: bool) -> Self
pub fn swap_with_default(&mut self) -> Self
pub fn set_on_toggle<C: Into<CheckBoxOnToggleCallback>>( &mut self, data: RefAny, on_toggle: C, )
pub fn with_on_toggle<C: Into<CheckBoxOnToggleCallback>>( self, data: RefAny, on_toggle: C, ) -> Self
pub fn dom(self) -> Dom
Trait Implementations§
impl StructuralPartialEq for CheckBox
Auto Trait Implementations§
impl Freeze for CheckBox
impl RefUnwindSafe for CheckBox
impl Send for CheckBox
impl Sync for CheckBox
impl Unpin for CheckBox
impl UnwindSafe for CheckBox
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more