SwiftextensionAppStoreKit
extension JetUI.AspectRatio
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
structJetUI.AspectRatio
Members 9
- func
encode(to: Encoder) throws -> () - func
jsRepresentation(in: JSContext) throws -> JetEngine.CustomJSValueConvertible - func
maxSize(filling: CGSize) -> CGSize - func
maxSize(fitting: CGSize) -> CGSize - init
init(deserializing: JetEngine.JSONObject, using: JetEngine.JSONContext) throws -> JetUI.AspectRatio - init
init(from: Decoder) throws -> JetUI.AspectRatio - var
var inverted: JetUI.AspectRatio { get } - var
var isLandscape: Bool { get } - var
var isPortrait: Bool { get }
Header
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 }