Trait ChipThemePartialExt

Source
pub trait ChipThemePartialExt {
Show 17 methods // Required methods fn background(self, background: impl Into<Color>) -> Self; fn hover_background(self, hover_background: impl Into<Color>) -> Self; fn selected_background(self, selected_background: impl Into<Color>) -> Self; fn border_fill(self, border_fill: impl Into<Color>) -> Self; fn selected_border_fill( self, selected_border_fill: impl Into<Color>, ) -> Self; fn hover_border_fill(self, hover_border_fill: impl Into<Color>) -> Self; fn focus_border_fill(self, focus_border_fill: impl Into<Color>) -> Self; fn margin(self, margin: impl Into<f32>) -> Self; fn corner_radius(self, corner_radius: impl Into<CornerRadius>) -> Self; fn width(self, width: impl Into<Size>) -> Self; fn height(self, height: impl Into<Size>) -> Self; fn padding(self, padding: impl Into<Gaps>) -> Self; fn color(self, color: impl Into<Color>) -> Self; fn hover_color(self, hover_color: impl Into<Color>) -> Self; fn selected_color(self, selected_color: impl Into<Color>) -> Self; fn selected_icon_fill(self, selected_icon_fill: impl Into<Color>) -> Self; fn hover_icon_fill(self, hover_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 selected_background(self, selected_background: impl Into<Color>) -> Self

Source

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

Source

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

Source

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

Source

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

Source

fn margin(self, margin: impl Into<f32>) -> Self

Source

fn corner_radius(self, corner_radius: impl Into<CornerRadius>) -> Self

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

fn hover_icon_fill(self, hover_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§