pub struct CheckboxProps {
pub size: Size,
pub checked: TriState,
pub disabled: bool,
pub required: bool,
pub class: Option<String>,
pub aria_label: Option<String>,
pub id: Option<String>,
}Expand description
Properties for the styled Checkbox.
Fields§
§size: Size§checked: TriState§disabled: bool§required: bool§class: Option<String>§aria_label: Option<String>§id: Option<String>Trait 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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CheckboxProps
impl Debug for CheckboxProps
Source§impl Default for CheckboxProps
impl Default for CheckboxProps
Source§impl PartialEq for CheckboxProps
impl PartialEq for CheckboxProps
Source§fn eq(&self, other: &CheckboxProps) -> bool
fn eq(&self, other: &CheckboxProps) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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