IThemeVariantProvider
trait · ferroui-base · v0.5.0
trait IThemeVariantProvider: IResourceProvider
Resource provider with theme variant awareness.
Can be used with ResourceDictionary::theme_dictionaries. This is useful
for specifying multiple resource sets for different themes.
Members
key
fn key(self: &Self) -> Option<ThemeVariant>
The key that will be used in the theme dictionaries of the containing resource dictionary.
set_key
fn set_key(self: &Self, value: Option<ThemeVariant>)
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.