FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    DesktopAcrylicController

    struct · ferroui-base · v0.5.0

    struct DesktopAcrylicController
    

    The desktop acrylic controller (WinUI Microsoft.UI.Composition.SystemBackdrops.DesktopAcrylicController).

    View source

    Members

    new

    fn new() -> DesktopAcrylicController
    

    A controller of desktop acrylic of kind Default.

    Source

    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.

    Source

    kind

    fn kind(self: &Self) -> DesktopAcrylicKind
    

    Kind.

    Source

    set_kind

    fn set_kind(self: &Self, kind: DesktopAcrylicKind)
    

    Source

    controller

    fn controller(self: &Self) -> &Rc<SystemBackdropController>
    

    The shared controller.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Receiver
    • Any
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • Clone
    • Deref
    • Default

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.