pub enum ToggleStyle {
ButtonToggleStyle,
CheckboxToggleStyle,
DefaultToggleStyle,
SwitchToggleStyle,
}Expand description
The concrete types conforming to SwiftUI.ToggleStyle.
Variants§
Trait Implementations§
Source§impl Clone for ToggleStyle
impl Clone for ToggleStyle
impl Copy for ToggleStyle
Source§impl Debug for ToggleStyle
impl Debug for ToggleStyle
impl Eq for ToggleStyle
Source§impl From<ButtonToggleStyle> for ToggleStyle
impl From<ButtonToggleStyle> for ToggleStyle
Source§fn from(_: ButtonToggleStyle) -> Self
fn from(_: ButtonToggleStyle) -> Self
Converts to this type from the input type.
Source§impl From<CheckboxToggleStyle> for ToggleStyle
impl From<CheckboxToggleStyle> for ToggleStyle
Source§fn from(_: CheckboxToggleStyle) -> Self
fn from(_: CheckboxToggleStyle) -> Self
Converts to this type from the input type.
Source§impl From<DefaultToggleStyle> for ToggleStyle
impl From<DefaultToggleStyle> for ToggleStyle
Source§fn from(_: DefaultToggleStyle) -> Self
fn from(_: DefaultToggleStyle) -> Self
Converts to this type from the input type.
Source§impl From<SwitchToggleStyle> for ToggleStyle
impl From<SwitchToggleStyle> for ToggleStyle
Source§fn from(_: SwitchToggleStyle) -> Self
fn from(_: SwitchToggleStyle) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ToggleStyle
impl PartialEq for ToggleStyle
impl StructuralPartialEq for ToggleStyle
Auto Trait Implementations§
impl Freeze for ToggleStyle
impl RefUnwindSafe for ToggleStyle
impl Send for ToggleStyle
impl Sync for ToggleStyle
impl Unpin for ToggleStyle
impl UnsafeUnpin for ToggleStyle
impl UnwindSafe for ToggleStyle
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