SwiftstructHealthNarrator

struct HealthNarrator.Parameter

Members 12

  1. fieldlet description: String+0x18
  2. fieldlet displayName: String+0x8
  3. fieldlet id: HealthNarrator.ParameterID+0x0
  4. fieldlet toParameterValue: @Sendable (A) -> HealthNarrator.ParameterValue
  5. fieldlet unit: HealthNarrator.ParameterUnit+0x28
  6. fieldlet value: A
  7. initHealthNarrator.Parameter< where A == ClosedRange<Int>>.init(id: HealthNarrator.ParameterID, displayName: String, description: String, unit: HealthNarrator.ParameterUnit, value: ClosedRange<Int>) -> HealthNarrator.Parameter<ClosedRange<Int>>
  8. initHealthNarrator.Parameter< where A == [Double]>.init(id: HealthNarrator.ParameterID, displayName: String, description: String, unit: HealthNarrator.ParameterUnit, value: [Double]) -> HealthNarrator.Parameter<[Double]>
  9. initHealthNarrator.Parameter< where A == [Int]>.init(id: HealthNarrator.ParameterID, displayName: String, description: String, unit: HealthNarrator.ParameterUnit, value: [Int]) -> HealthNarrator.Parameter<[Int]>
  10. initHealthNarrator.Parameter< where A == Double>.init(id: HealthNarrator.ParameterID, displayName: String, description: String, unit: HealthNarrator.ParameterUnit, value: Double) -> HealthNarrator.Parameter<Double>
  11. initHealthNarrator.Parameter< where A == Int>.init(id: HealthNarrator.ParameterID, displayName: String, description: String, unit: HealthNarrator.ParameterUnit, value: Int) -> HealthNarrator.Parameter<Int>
  12. varvar descriptor: HealthNarrator.ParameterDescriptor { get }
struct Parameter<A> {
    let id: HealthNarrator.ParameterID
    let displayName: Swift.String
    let description: Swift.String
    let unit: HealthNarrator.ParameterUnit
    let value: A
    let toParameterValue: @Sendable (_: A) -> HealthNarrator.ParameterValue

    var descriptor: HealthNarrator.ParameterDescriptor {
        get
    }
}