MicaController
struct · ferroui-base · v0.5.0
struct MicaController
The Mica controller (WinUI Microsoft.UI.Composition.SystemBackdrops.MicaController).
Members
new
fn new() -> MicaController
A controller of Mica of kind Base.
is_supported
fn is_supported() -> bool
IsSupported: whether the platform can draw Mica (Windows 11 and
macOS); elsewhere a controller shows the fallback colour.
kind
fn kind(self: &Self) -> MicaKind
Kind.
set_kind
fn set_kind(self: &Self, kind: MicaKind)
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.