SwiftstructSwiftUICore
_ForegroundStyleModifier2
struct SwiftUI._ForegroundStyleModifier2
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwiftUI.PrimitiveViewModifier
- protocolSwiftUI.ViewInputsModifier
- protocolSwiftUI.ViewModifier
Members 6
- func
static _makeViewInputs(modifier: SwiftUI._GraphValue<SwiftUI._ForegroundStyleModifier2<A, B>>, inputs: inout SwiftUI._ViewInputs) -> () - var
static var graphInputsSemantics: SwiftUI.Semantics? { get } - field
var primary: A - field
var secondary: B - init
init(primary: A, secondary: B) -> SwiftUI._ForegroundStyleModifier2<A, B> - typealias
typealias Body = Swift.Never
Header
struct _ForegroundStyleModifier2<A, B> where A: SwiftUI.ShapeStyle, B: SwiftUI.ShapeStyle { struct ForegroundStyleEnvironment { // synthesized from the backing storage `_modifier`; the property's own accessors are stripped @AttributeGraph.Attribute var modifier: SwiftUI._ForegroundStyleModifier2<A, B> { get set } // synthesized from the backing storage `_environment`; the property's own accessors are stripped @AttributeGraph.Attribute var environment: SwiftUI.EnvironmentValues { get set } } var primary: A var secondary: B init(primary: A, secondary: B) static var graphInputsSemantics: SwiftUI.Semantics? { get } static func _makeViewInputs(modifier: SwiftUI._GraphValue<SwiftUI._ForegroundStyleModifier2<A, B>>, inputs: inout SwiftUI._ViewInputs) }