Trait iced_style::text_input::StyleSheet[][src]

pub trait StyleSheet {
    fn active(&self) -> Style;
fn focused(&self) -> Style;
fn placeholder_color(&self) -> Color;
fn value_color(&self) -> Color;
fn selection_color(&self) -> Color; fn hovered(&self) -> Style { ... } }

A set of rules that dictate the style of a text input.

Required methods

fn active(&self) -> Style[src]

Produces the style of an active text input.

fn focused(&self) -> Style[src]

Produces the style of a focused text input.

fn placeholder_color(&self) -> Color[src]

fn value_color(&self) -> Color[src]

fn selection_color(&self) -> Color[src]

Loading content...

Provided methods

fn hovered(&self) -> Style[src]

Produces the style of an hovered text input.

Loading content...

Implementors

Loading content...