Enumerationswift 6.0.3Foundation
Unit
enum Unit
enum Unit
import Foundation
class LengthFormatter
case centimeter
case foot
case inch
case kilometer
case meter
case mile
case millimeter
case yard
override init()
required init?(coder: NSCoder)
var isForPersonHeightUse: Bool
var numberFormatter: NumberFormatter!
var unitStyle: Formatter.UnitStyle
func string(fromMeters numberInMeters: Double) -> String
func string(fromValue value: Double, unit: LengthFormatter.Unit) -> String
func unitString(fromMeters numberInMeters: Double, usedUnit unitp: UnsafeMutablePointer<LengthFormatter.Unit>?) -> String
func unitString(fromValue value: Double, unit: LengthFormatter.Unit) -> String
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
protocol Sendable
init?(rawValue: Int)
var hashValue: Int { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)