pub struct CheckboxBuilder {
pub label: Option<&'static str>,
pub checked: Option<Signal<bool>>,
pub disabled: Option<bool>,
pub class: Option<&'static str>,
pub children: Option<Vec<NodeBlueprint>>,
pub __strata_key: Option<String>,
}Fields§
§label: Option<&'static str>§checked: Option<Signal<bool>>§disabled: Option<bool>§class: Option<&'static str>§children: Option<Vec<NodeBlueprint>>§__strata_key: Option<String>Implementations§
Source§impl CheckboxBuilder
impl CheckboxBuilder
pub fn label(self, val: impl Into<Option<&'static str>>) -> Self
pub fn checked(self, val: impl Into<Signal<bool>>) -> Self
pub fn disabled(self, val: impl Into<Option<bool>>) -> Self
pub fn class(self, val: impl Into<Option<&'static str>>) -> Self
pub fn children(self, children: Vec<NodeBlueprint>) -> Self
pub fn key(self, key: impl Display) -> Self
pub fn build(self) -> View
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CheckboxBuilder
impl !Send for CheckboxBuilder
impl !Sync for CheckboxBuilder
impl !UnwindSafe for CheckboxBuilder
impl Forget for CheckboxBuilder
impl Freeze for CheckboxBuilder
impl Move for CheckboxBuilder
impl Unpin for CheckboxBuilder
impl UnsafeUnpin for CheckboxBuilder
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