WindowTransparencyLevel
struct · ferroui-controls · v0.5.0
struct WindowTransparencyLevel
A transparency level a window can be asked to render with.
The set of levels is closed: values are obtained from the associated
functions (none, transparent, ...).
Members
none
const fn none() -> Self
The window background is black where the client area is transparent.
transparent
const fn transparent() -> Self
The window background is transparent.
blur
const fn blur() -> Self
The window background is a blur-behind where the client area is transparent.
acrylic_blur
const fn acrylic_blur() -> Self
The window background is a blur-behind with a high blur radius. This level may fall back to blur, if the platform doesn't support acrylic.
mica
const fn mica() -> Self
The window background is based on desktop wallpaper tint with a blur. This will only work on Windows 11.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedToStringResourceKeyObjectPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherMarkupTypedValueTypeRegistrationCloneCopyDebugStructuralPartialEqPartialEqEqHashDisplay
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.