pub trait ScrollBarThemePartialExt {
// Required methods
fn background(self, background: impl Into<Color>) -> Self;
fn thumb_background(self, thumb_background: impl Into<Color>) -> Self;
fn hover_thumb_background(
self,
hover_thumb_background: impl Into<Color>,
) -> Self;
fn active_thumb_background(
self,
active_thumb_background: impl Into<Color>,
) -> Self;
fn thumb_cross_size(self, thumb_cross_size: f32) -> Self;
fn expanded_thumb_cross_size(self, expanded_thumb_cross_size: f32) -> Self;
fn opacity(self, opacity: f32) -> Self;
fn expanded_opacity(self, expanded_opacity: f32) -> Self;
fn cross_gap(self, cross_gap: f32) -> Self;
fn expanded_cross_gap(self, expanded_cross_gap: f32) -> Self;
}Required Methods§
fn background(self, background: impl Into<Color>) -> Self
fn thumb_background(self, thumb_background: impl Into<Color>) -> Self
fn hover_thumb_background( self, hover_thumb_background: impl Into<Color>, ) -> Self
fn active_thumb_background( self, active_thumb_background: impl Into<Color>, ) -> Self
fn thumb_cross_size(self, thumb_cross_size: f32) -> Self
fn expanded_thumb_cross_size(self, expanded_thumb_cross_size: f32) -> Self
fn opacity(self, opacity: f32) -> Self
fn expanded_opacity(self, expanded_opacity: f32) -> Self
fn cross_gap(self, cross_gap: f32) -> Self
fn expanded_cross_gap(self, expanded_cross_gap: f32) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".