pub trait StyleSheet {
fn active(&self) -> Style;
fn hovered(&self) -> Style { ... }
fn pressed(&self) -> Style { ... }
fn disabled(&self) -> Style { ... }
}
Expand description
A set of rules that dictate the style of a button.
pub trait StyleSheet {
fn active(&self) -> Style;
fn hovered(&self) -> Style { ... }
fn pressed(&self) -> Style { ... }
fn disabled(&self) -> Style { ... }
}
A set of rules that dictate the style of a button.