SwiftstructWeatherDaemon

struct WeatherDaemon.Coordinate

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 4

  1. funcstatic read(from: inout Foundation.Data) throws -> WeatherDaemon.Coordinate
  2. fieldvar latitude: Double+0x0
  3. fieldvar longitude: Double+0x8
  4. funcwrite(to: inout Foundation.Data) throws -> ()
struct Coordinate {
    enum CodingKeys {
        case latitude
        case longitude
    }
    var latitude: Swift.Double
    var longitude: Swift.Double

    func write(to: inout Foundation.Data) throws

    static func read(from: inout Foundation.Data) throws -> WeatherDaemon.Coordinate
}