Skip to main content

IThemeVariantRoot

Trait IThemeVariantRoot 

Source
pub trait IThemeVariantRoot {
    // Required method
    fn is_theme_variant_root(&self) -> bool;
}
Expand description

Marks an object that can be the root of theme variant resolution: at a root, the default theme variant resolves to the variant of the platform instead of being inherited.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§