Skip to main content

ScrollBarThemePartialExt

Trait ScrollBarThemePartialExt 

Source
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§

Source

fn background(self, background: impl Into<Color>) -> Self

Source

fn thumb_background(self, thumb_background: impl Into<Color>) -> Self

Source

fn hover_thumb_background( self, hover_thumb_background: impl Into<Color>, ) -> Self

Source

fn active_thumb_background( self, active_thumb_background: impl Into<Color>, ) -> Self

Source

fn thumb_cross_size(self, thumb_cross_size: f32) -> Self

Source

fn expanded_thumb_cross_size(self, expanded_thumb_cross_size: f32) -> Self

Source

fn opacity(self, opacity: f32) -> Self

Source

fn expanded_opacity(self, expanded_opacity: f32) -> Self

Source

fn cross_gap(self, cross_gap: f32) -> Self

Source

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".

Implementors§