---
source: boltffi_bindgen/src/render/swift/templates.rs
expression: render_record(&record, "")
---
public struct Point: Hashable, Equatable, Sendable {
    public var x: Double
    public var y: Double

    public init(x: Double, y: Double) {
        self.x = x
        self.y = y
    }

}

extension Point: WireCodable {
    @inlinable static func decode(from reader: inout WireReader) -> Point { reader.readBlittable() }
    @inlinable func encode(to writer: inout WireWriter) { writer.writeBlittable(self) }
}
