SwiftstructSnippetKit

struct SnippetKit.ImageElement.AspectRatio

Structure

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

Members 7

  1. varstatic var fullWidth: SnippetKit.ImageElement.AspectRatio { get set }
  2. varstatic var square: SnippetKit.ImageElement.AspectRatio { get set }
  3. fieldlet proto: SnippetKit._ProtoImageElement.AspectRatio
  4. initinit(width: Float, height: Float) -> SnippetKit.ImageElement.AspectRatio
  5. varvar description: String { get }
  6. varvar height: Float { get }
  7. varvar width: Float { get }
struct SnippetKit.ImageElement.AspectRatio {
    let proto: SnippetKit._ProtoImageElement.AspectRatio

    init(width: Swift.Float, height: Swift.Float)

    var description: Swift.String {
        get
    }
    var height: Swift.Float {
        get
    }
    var width: Swift.Float {
        get
    }

    static var fullWidth: SnippetKit.ImageElement.AspectRatio {
        get
        set
    }
    static var square: SnippetKit.ImageElement.AspectRatio {
        get
        set
    }
}