ButtonSegmentThemePartialExt

Trait ButtonSegmentThemePartialExt 

Source
pub trait ButtonSegmentThemePartialExt {
    // Required methods
    fn background(self, background: impl Into<Color>) -> Self;
    fn hover_background(self, hover_background: impl Into<Color>) -> Self;
    fn disabled_background(self, disabled_background: impl Into<Color>) -> Self;
    fn selected_background(self, selected_background: impl Into<Color>) -> Self;
    fn focus_background(self, focus_background: impl Into<Color>) -> Self;
    fn padding(self, padding: impl Into<Gaps>) -> Self;
    fn selected_padding(self, selected_padding: impl Into<Gaps>) -> Self;
    fn width(self, width: impl Into<Size>) -> Self;
    fn height(self, height: impl Into<Size>) -> Self;
    fn color(self, color: impl Into<Color>) -> Self;
    fn selected_icon_fill(self, selected_icon_fill: impl Into<Color>) -> Self;
}

Required Methods§

Source

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

Source

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

Source

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

Source

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

Source

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

Source

fn padding(self, padding: impl Into<Gaps>) -> Self

Source

fn selected_padding(self, selected_padding: impl Into<Gaps>) -> Self

Source

fn width(self, width: impl Into<Size>) -> Self

Source

fn height(self, height: impl Into<Size>) -> Self

Source

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

Source

fn selected_icon_fill(self, selected_icon_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.

Implementors§