pub struct SwitchProps {
pub attrs: Attributes,
}Expand description
A checkbox drawn as a track and a thumb, for a setting that takes effect as it is.
Fields§
§attrs: AttributesImplementations§
Source§impl SwitchProps
impl SwitchProps
Sourcepub fn builder() -> SwitchPropsBuilder
pub fn builder() -> SwitchPropsBuilder
Returns a SwitchPropsBuilder with no properties set.
Trait Implementations§
Source§impl Props for SwitchProps
impl Props for SwitchProps
Auto Trait Implementations§
impl Freeze for SwitchProps
impl RefUnwindSafe for SwitchProps
impl Send for SwitchProps
impl Sync for SwitchProps
impl Unpin for SwitchProps
impl UnsafeUnpin for SwitchProps
impl UnwindSafe for SwitchProps
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