init(_:)
Create an instance that type-erases CompositorContent.
Declaration
nonisolated init<T>(_ content: T) where T : CompositorContentCreate an instance that type-erases CompositorContent.
nonisolated init<T>(_ content: T) where T : CompositorContent