DesktopAcrylicController
struct · ferroui-base · v0.5.0
struct DesktopAcrylicController
The desktop acrylic controller (WinUI
Microsoft.UI.Composition.SystemBackdrops.DesktopAcrylicController).
Members
new
fn new() -> DesktopAcrylicController
A controller of desktop acrylic of kind Default.
is_supported
fn is_supported() -> bool
IsSupported: whether the platform can draw desktop acrylic
(Windows and macOS, and where the platform blurs what is behind a
transparent window); elsewhere a controller shows the fallback
colour.
kind
fn kind(self: &Self) -> DesktopAcrylicKind
Kind.
set_kind
fn set_kind(self: &Self, kind: DesktopAcrylicKind)
controller
fn controller(self: &Self) -> &Rc<SystemBackdropController>
The shared controller.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedErasedDestructorIntoEitherCloneDerefDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.