IntrospectionScope
public struct IntrospectionScope : OptionSet, Sendable
The scope of introspection i.e. where introspect should look to find
the desired target view relative to the applied .introspect(...)
modifier.
-
Look within the
receiver
of the.introspect(...)
modifier.Declaration
Swift
public static let receiver: IntrospectionScope
-
Look for an
ancestor
relative to the.introspect(...)
modifier.Declaration
Swift
public static let ancestor: IntrospectionScope
-
Declaration
Swift
@_spi(FW) public let rawValue: UInt
-
Declaration
Swift
@_spi(FW) public init(rawValue: UInt)