CompositionHostBackdropBrush
struct · ferroui-base · v0.5.0
struct CompositionHostBackdropBrush
A brush that shows what is behind the window (WinUI
Microsoft.UI.Composition.CompositionHostBackdropBrush), made by
Compositor::create_host_backdrop_brush.
In a window the platform composes over the desktop (a transparency level other than none) the area of the brush is made transparent, so what is behind the window shows; the platform blurs it when the window has the blur or acrylic level. In an opaque window the brush paints nothing (winui-materials.md).
Members
from_brush
fn from_brush(brush: &Rc<CompositionBrush>) -> Option<CompositionHostBackdropBrush>
The handle of brush as a host backdrop brush, if it is one.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedErasedDestructorIntoEitherCloneDeref
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.