SwiftstructDepthCore
struct DepthCore.Pressure
Members 5
- func
static pressure(forDepthValue: Double, unit: DepthCore.DepthUnit, waterType: DepthCore.WaterType) -> DepthCore.Pressure - field
let canonicalValue: Double+0x0 - func
depthValue(forUnit: DepthCore.DepthUnit, waterType: DepthCore.WaterType) -> Double - func
value(forUnit: DepthCore.Pressure.PressureUnit) -> Double - init
init(value: Double, unit: DepthCore.Pressure.PressureUnit) -> DepthCore.Pressure
Header
struct Pressure { enum PressureUnit { case Pa case kPa } let canonicalValue: Swift.Double init(value: Swift.Double, unit: DepthCore.Pressure.PressureUnit) func depthValue(forUnit: DepthCore.DepthUnit, waterType: DepthCore.WaterType) -> Swift.Double func value(forUnit: DepthCore.Pressure.PressureUnit) -> Swift.Double static func pressure(forDepthValue: Swift.Double, unit: DepthCore.DepthUnit, waterType: DepthCore.WaterType) -> DepthCore.Pressure }