Structureswift 6.0.3Foundation
CGSize
struct CGSize
struct CGSize
import Foundation
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol Decodable
A type that can decode itself from an external representation.
protocol Encodable
A type that can encode itself to an external representation.
protocol Equatable
A type that can be compared for value equality.
protocol Escapable
protocol Sendable
init()
init(from decoder: any Decoder) throws
init(width: Double, height: Double)
init(width: Int, height: Int)
init(width: CGFloat, height: CGFloat)
static var zero: CGSize { get }
var height: CGFloat
var width: CGFloat
static func == (lhs: CGSize, rhs: CGSize) -> Bool
func encode(to encoder: any Encoder) throws
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.