SwiftextensionAppStoreKit

extension JetUI.AspectRatio

Structure

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

extends{}

Members 9

  1. funcencode(to: Encoder) throws -> ()
  2. funcjsRepresentation(in: JSContext) throws -> JetEngine.CustomJSValueConvertible
  3. funcmaxSize(filling: CGSize) -> CGSize
  4. funcmaxSize(fitting: CGSize) -> CGSize
  5. initinit(deserializing: JetEngine.JSONObject, using: JetEngine.JSONContext) throws -> JetUI.AspectRatio
  6. initinit(from: Decoder) throws -> JetUI.AspectRatio
  7. varvar inverted: JetUI.AspectRatio { get }
  8. varvar isLandscape: Bool { get }
  9. varvar isPortrait: Bool { get }
extension JetUI.AspectRatio {
    enum CodingKeys {
        case horizontal
        case vertical
    }
    init(deserializing: JetEngine.JSONObject, using: JetEngine.JSONContext) throws
    init(from: any Swift.Decoder) throws

    var inverted: JetUI.AspectRatio {
        get
    }
    var isLandscape: Swift.Bool {
        get
    }
    var isPortrait: Swift.Bool {
        get
    }

    func jsRepresentation(in: __C.JSContext) throws -> any JetEngine.CustomJSValueConvertible
    func encode(to: any Swift.Encoder) throws
    func maxSize(filling: __C.CGSize) -> __C.CGSize
    func maxSize(fitting: __C.CGSize) -> __C.CGSize
}