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 size(self, size: impl Into<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 size(self, size: impl Into<f32>) -> 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.

Implementors§