Swiftprotocol_JetEngine_SwiftUI
protocol _JetEngine_SwiftUI.Component
Members 9
- associatedtype
associatedtype Content - associatedtype
associatedtype Model - associatedtype
associatedtype _ButtonStyle - func
method descriptor for _buttonStyle(for: A.Model) -> A._ButtonStyle - func
_JetEngine_SwiftUI.Component< where A._ButtonStyle == _JetEngine_SwiftUI._ComponentBodyButtonStyle>._buttonStyle(for: A.Model) -> _JetEngine_SwiftUI._ComponentBodyButtonStyle - func
method descriptor for content(for: A.Model) -> A.Content - func
model(A.Model) -> some SwiftUI.View - func
trySetModel(to: JetEngine.ComponentModel) -> SwiftUI.AnyView? - var
var body: some SwiftUI.View { get }
Header
protocol Component: SwiftUI.View where Self.Content: SwiftUI.View, Self.Model: JetEngine.ComponentModel, Self._ButtonStyle: SwiftUI.PrimitiveButtonStyle { associatedtype Content associatedtype Model associatedtype _ButtonStyle func content(for: Self.Model) -> Self.Content func _buttonStyle(for: Self.Model) -> Self._ButtonStyle } extension _JetEngine_SwiftUI.Component { var body: some SwiftUI.View { get } func _buttonStyle(for: Self.Model) -> _JetEngine_SwiftUI._ComponentBodyButtonStyle where Self._ButtonStyle == _JetEngine_SwiftUI._ComponentBodyButtonStyle func trySetModel(to: any JetEngine.ComponentModel) -> SwiftUI.AnyView? func model(_: Self.Model) -> some SwiftUI.View }