pub trait SwitchThemePartialExt {
// Required methods
fn margin(self, margin: impl Into<Gaps>) -> Self;
fn background(self, background: impl Into<Color>) -> Self;
fn thumb_background(self, thumb_background: impl Into<Color>) -> Self;
fn toggled_background(self, toggled_background: impl Into<Color>) -> Self;
fn toggled_thumb_background(
self,
toggled_thumb_background: impl Into<Color>,
) -> Self;
fn focus_border_fill(self, focus_border_fill: impl Into<Color>) -> Self;
}Required Methods§
fn margin(self, margin: impl Into<Gaps>) -> Self
fn background(self, background: impl Into<Color>) -> Self
fn thumb_background(self, thumb_background: impl Into<Color>) -> Self
fn toggled_background(self, toggled_background: impl Into<Color>) -> Self
fn toggled_thumb_background( self, toggled_thumb_background: impl Into<Color>, ) -> Self
fn focus_border_fill(self, focus_border_fill: impl Into<Color>) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.