Структуры (записи)

struct Point: ~Copyable  {
    var x, y: Int
}

let p1 = Point(x: 1, y: 2)
//move the original instance p1 to p2
let p2 = p1

print("p2 is (\(p2.x), \(p2.y))")
//print("p2 is (\(p1.x), \(p1.y))") <- Error


An instance of a noncopyable type always has unique ownership, unlike normal Swift types which can be freely copied.