pub struct CheckboxProps {
pub label: String,
pub on_change: Callback<()>,
pub state: CheckboxState,
pub validation_message: String,
pub checked: bool,
pub disabled: bool,
}Fields§
§label: String§on_change: Callback<()>§state: CheckboxState§validation_message: String§checked: bool§disabled: boolTrait Implementations§
Source§impl Clone for CheckboxProps
impl Clone for CheckboxProps
Source§fn clone(&self) -> CheckboxProps
fn clone(&self) -> CheckboxProps
Returns a duplicate 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 PartialEq for CheckboxProps
impl PartialEq for CheckboxProps
Source§impl Properties for CheckboxProps
impl Properties for CheckboxProps
impl StructuralPartialEq for CheckboxProps
Auto Trait Implementations§
impl Freeze for CheckboxProps
impl !RefUnwindSafe for CheckboxProps
impl !Send for CheckboxProps
impl !Sync for CheckboxProps
impl Unpin for CheckboxProps
impl !UnwindSafe for CheckboxProps
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