Swiftprotocol_JetEngine_SwiftUI

protocol _JetEngine_SwiftUI.Component

Members 9

  1. associatedtypeassociatedtype Content
  2. associatedtypeassociatedtype Model
  3. associatedtypeassociatedtype _ButtonStyle
  4. funcmethod descriptor for _buttonStyle(for: A.Model) -> A._ButtonStyle
  5. func_JetEngine_SwiftUI.Component< where A._ButtonStyle == _JetEngine_SwiftUI._ComponentBodyButtonStyle>._buttonStyle(for: A.Model) -> _JetEngine_SwiftUI._ComponentBodyButtonStyle
  6. funcmethod descriptor for content(for: A.Model) -> A.Content
  7. funcmodel(A.Model) -> some SwiftUI.View
  8. functrySetModel(to: JetEngine.ComponentModel) -> SwiftUI.AnyView?
  9. varvar body: some SwiftUI.View { get }
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
}