Struct smithay_client_toolkit::window::ButtonColorSpec [−][src]
pub struct ButtonColorSpec {
pub idle: ColorSpec,
pub hovered: ColorSpec,
pub disabled: ColorSpec,
}
Expand description
A color specification associated with a button
It regroups 3 color specifications depending on the state of the button: idle, hovered, or disabled.
Fields
idle: ColorSpec
ColorSpec for an idle button
hovered: ColorSpec
ColorSpec for an hovered button
disabled: ColorSpec
ColorSpec for a disabled button
Implementations
Get the ColorSpec associated with a given button state
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ButtonColorSpec
impl Send for ButtonColorSpec
impl Sync for ButtonColorSpec
impl Unpin for ButtonColorSpec
impl UnwindSafe for ButtonColorSpec
Blanket Implementations
Mutably borrows from an owned value. Read more