ThemeShadowTheme
enum · ferroui-base · v0.5.0
enum ThemeShadowTheme
The theme a theme shadow is drawn for (WinUI's ElementTheme as
GetDropShadowRecipe takes it).
Members
Light
Light
Dark
Dark
HighContrast
HighContrast
A high contrast theme: no shadow (NeedsDropShadowVisual).
of_variant
fn of_variant(variant: Option<&ThemeVariant>) -> ThemeShadowTheme
The theme of the theme variant in effect for an element: a variant
that is or inherits HighContrast (the high contrast variant of the
WinUI theme) is high contrast, one that is or inherits Dark is
dark, anything else light.
of
fn of(element: &Visual) -> ThemeShadowTheme
The theme of element.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugStructuralPartialEqPartialEqEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.