DisabledLook is non-exhaustive

This commit is contained in:
aiongg
2026-11-12 14:32:44 +00:00
parent fda1c62572
commit f4d70cee9d
+1
View File
@@ -292,6 +292,7 @@ pub trait Pattern {}
/// How a component that is not enabled looks (`Component::DISABLED`). Either way it takes no input, its access node
/// is disabled and the children it shows inherit the disabled state.
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
#[non_exhaustive]
pub enum DisabledLook {
/// The style's Disabled state: `text.disabled` ink, the theme's disabled fills. Controls whose look is chrome
/// (buttons, fields, sliders) take it.