Trait InputThemePartialExt

Source
pub trait InputThemePartialExt {
    // Required methods
    fn background(self, background: impl Into<Color>) -> Self;
    fn hover_background(self, hover_background: impl Into<Color>) -> Self;
    fn border_fill(self, border_fill: impl Into<Color>) -> Self;
    fn focus_border_fill(self, focus_border_fill: impl Into<Color>) -> Self;
    fn corner_radius(self, corner_radius: impl Into<CornerRadius>) -> Self;
    fn inner_margin(self, inner_margin: impl Into<Gaps>) -> Self;
    fn color(self, color: impl Into<Color>) -> Self;
    fn placeholder_color(self, placeholder_color: 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 border_fill(self, border_fill: impl Into<Color>) -> Self

Source

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

Source

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

Source

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

Source

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

Source

fn placeholder_color(self, placeholder_color: 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§