SwiftstructHealthNarrator
struct HealthNarrator.Parameter
Members 12
- field
let description: String+0x18 - field
let displayName: String+0x8 - field
let id: HealthNarrator.ParameterID+0x0 - field
let toParameterValue: @Sendable (A) -> HealthNarrator.ParameterValue - field
let unit: HealthNarrator.ParameterUnit+0x28 - field
let value: A - init
HealthNarrator.Parameter< where A == ClosedRange<Int>>.init(id: HealthNarrator.ParameterID, displayName: String, description: String, unit: HealthNarrator.ParameterUnit, value: ClosedRange<Int>) -> HealthNarrator.Parameter<ClosedRange<Int>> - init
HealthNarrator.Parameter< where A == [Double]>.init(id: HealthNarrator.ParameterID, displayName: String, description: String, unit: HealthNarrator.ParameterUnit, value: [Double]) -> HealthNarrator.Parameter<[Double]> - init
HealthNarrator.Parameter< where A == [Int]>.init(id: HealthNarrator.ParameterID, displayName: String, description: String, unit: HealthNarrator.ParameterUnit, value: [Int]) -> HealthNarrator.Parameter<[Int]> - init
HealthNarrator.Parameter< where A == Double>.init(id: HealthNarrator.ParameterID, displayName: String, description: String, unit: HealthNarrator.ParameterUnit, value: Double) -> HealthNarrator.Parameter<Double> - init
HealthNarrator.Parameter< where A == Int>.init(id: HealthNarrator.ParameterID, displayName: String, description: String, unit: HealthNarrator.ParameterUnit, value: Int) -> HealthNarrator.Parameter<Int> - var
var descriptor: HealthNarrator.ParameterDescriptor { get }
Header
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 } }