Trait iced::widget::pick_list::StyleSheet
pub trait StyleSheet {
type Style: Default + Clone;
// Required methods
fn active(&self, style: &Self::Style) -> Appearance;
fn hovered(&self, style: &Self::Style) -> Appearance;
}
Expand description
A set of rules that dictate the style of a container.
Required Associated Types§
type Style: Default + Clone
type Style: Default + Clone
The supported style of the StyleSheet
.
Required Methods§
fn active(&self, style: &Self::Style) -> Appearance
fn active(&self, style: &Self::Style) -> Appearance
Produces the active Appearance
of a pick list.
fn hovered(&self, style: &Self::Style) -> Appearance
fn hovered(&self, style: &Self::Style) -> Appearance
Produces the hovered Appearance
of a pick list.