SwiftstructSnippetKit
struct SnippetKit.ImageElement.AspectRatio
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSnippetKit.RFImageAspectRatio
- protocolSwift.CustomStringConvertible
- protocolSwift.Equatable
- protocolSwift.Hashable
Members 7
- var
static var fullWidth: SnippetKit.ImageElement.AspectRatio { get set } - var
static var square: SnippetKit.ImageElement.AspectRatio { get set } - field
let proto: SnippetKit._ProtoImageElement.AspectRatio - init
init(width: Float, height: Float) -> SnippetKit.ImageElement.AspectRatio - var
var description: String { get } - var
var height: Float { get } - var
var width: Float { get }
Header
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 } }