pub trait SwitchLayoutThemePartialExt {
// Required methods
fn margin(self, margin: impl Into<Gaps>) -> Self;
fn width(self, width: f32) -> Self;
fn height(self, height: f32) -> Self;
fn padding(self, padding: f32) -> Self;
fn thumb_size(self, thumb_size: f32) -> Self;
fn toggled_thumb_size(self, toggled_thumb_size: f32) -> Self;
fn pressed_thumb_size_offset(self, pressed_thumb_size_offset: f32) -> Self;
fn thumb_offset(self, thumb_offset: f32) -> Self;
fn toggled_thumb_offset(self, toggled_thumb_offset: f32) -> Self;
}Required Methods§
fn margin(self, margin: impl Into<Gaps>) -> Self
fn width(self, width: f32) -> Self
fn height(self, height: f32) -> Self
fn padding(self, padding: f32) -> Self
fn thumb_size(self, thumb_size: f32) -> Self
fn toggled_thumb_size(self, toggled_thumb_size: f32) -> Self
fn pressed_thumb_size_offset(self, pressed_thumb_size_offset: f32) -> Self
fn thumb_offset(self, thumb_offset: f32) -> Self
fn toggled_thumb_offset(self, toggled_thumb_offset: f32) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".