Skip to main content

visual_effect

Function visual_effect 

Source
pub fn visual_effect(view: &ViewHandle) -> ViewHandle
Expand description

Apply .visualEffect(_:).

The closure must return some VisualEffect, and the smallest real one is EmptyVisualEffect — which SwiftUI exports a VisualEffect witness table for but no metadata accessor, so the metadata is demangled from its name.