FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CompositionBackdropBrush

    struct · ferroui-base · v0.5.0

    struct CompositionBackdropBrush
    

    A brush that shows what is behind the visual that paints it (WinUI Microsoft.UI.Composition.CompositionBackdropBrush), made by Compositor::create_backdrop_brush; usually the source of an effect brush (a blurred backdrop).

    The compositor draws again what was drawn under the visual: the tree of the window from its root up to the visual, cut to the area of the brush (winui-materials.md, the backdrop).

    View source

    Members

    from_brush

    fn from_brush(brush: &Rc<CompositionBrush>) -> Option<CompositionBackdropBrush>
    

    The handle of brush as a backdrop brush, if it is one.

    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

    Availability

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