SwiftstructDepthCore

struct DepthCore.Pressure

Members 5

  1. funcstatic pressure(forDepthValue: Double, unit: DepthCore.DepthUnit, waterType: DepthCore.WaterType) -> DepthCore.Pressure
  2. fieldlet canonicalValue: Double+0x0
  3. funcdepthValue(forUnit: DepthCore.DepthUnit, waterType: DepthCore.WaterType) -> Double
  4. funcvalue(forUnit: DepthCore.Pressure.PressureUnit) -> Double
  5. initinit(value: Double, unit: DepthCore.Pressure.PressureUnit) -> DepthCore.Pressure
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
}