* feat: new protocol for chained functions, and added support for explicit Y ranges. X coming as well * feat: add new axis interface (#253)
15 lines
325 B
Swift
15 lines
325 B
Swift
import SwiftUI
|
|
|
|
public struct ViewSizeData: Identifiable, Equatable, Hashable {
|
|
public let id: UUID = UUID()
|
|
public let size: CGSize
|
|
|
|
public static func == (lhs: Self, rhs: Self) -> Bool {
|
|
return lhs.id == rhs.id
|
|
}
|
|
|
|
public func hash(into hasher: inout Hasher) {
|
|
hasher.combine(id)
|
|
}
|
|
}
|