Budget

public enum Budget : CustomStringConvertible, Hashable

Budget for determining maximum range which can be traveled.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Fuel volume budget, e.g., liters.

    Declaration

    Swift

    case fuelBudget(Measurement<UnitVolume>)
  • Energy budget, e.g., in kilowatt hours.

    Declaration

    Swift

    case energyBudget(Measurement<UnitEnergy>)
  • Time budget, e.g., in seconds.

    Declaration

    Swift

    case timeBudget(Measurement<UnitDuration>)
  • Distance budget, e.g., in meters.

    Declaration

    Swift

    case distanceBudget(Measurement<UnitLength>)

Public

  • Declaration

    Swift

    public var description: String { get }