SwiftenumWeatherAppSupport
DynamicGridAdornmentPosition
enum WeatherAppSupport.DynamicGridAdornmentPosition
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Equatable
- protocolSwift.Hashable
Members 10
- func
static below<A where A: WeatherAppSupport.DynamicGridSupplementaryViewID>(_: A.Type, height: WeatherAppSupport.Height, padding: SwiftUI.EdgeInsets) -> WeatherAppSupport.DynamicGridAdornmentPosition - func
static bottom(height: WeatherAppSupport.GridUnit, padding: SwiftUI.EdgeInsets) -> WeatherAppSupport.DynamicGridAdornmentPosition - func
static computed<A where A: WeatherAppSupport.GeometryFunctionID>(id: A, _: @Sendable (WeatherAppSupport.GeometryLayoutContext) -> WeatherAppSupport.DynamicGridAdornmentPosition.Resolved?) -> WeatherAppSupport.DynamicGridAdornmentPosition - func
static top(height: WeatherAppSupport.Height, horizontalAlignment: WeatherAppSupport.DynamicGridDecorationPosition.Top.HorizontalAlignment, padding: SwiftUI.EdgeInsets) -> WeatherAppSupport.DynamicGridAdornmentPosition - func
static trailing(width: WeatherAppSupport.Proportion, padding: SwiftUI.EdgeInsets) -> WeatherAppSupport.DynamicGridAdornmentPosition - case
case below(WeatherAppSupport.DynamicGridAdornmentPosition.Below) - case
case bottom(WeatherAppSupport.DynamicGridAdornmentPosition.Bottom) - case
case computed(WeatherAppSupport.GeometryLayoutFunction<WeatherAppSupport.DynamicGridAdornmentPosition.Resolved?>) - case
case top(WeatherAppSupport.DynamicGridAdornmentPosition.Top) - case
case trailing(WeatherAppSupport.DynamicGridAdornmentPosition.Trailing)
Header
enum DynamicGridAdornmentPosition { struct Top { let height: WeatherAppSupport.Height let horizontalAlignment: WeatherAppSupport.DynamicGridDecorationPosition.Top.HorizontalAlignment let padding: SwiftUI.EdgeInsets } struct Trailing { let width: WeatherAppSupport.Proportion let padding: SwiftUI.EdgeInsets } struct Bottom { let height: WeatherAppSupport.GridUnit let padding: SwiftUI.EdgeInsets } struct Below { let id: WeatherAppSupport.AnyDynamicGridSupplementaryViewID let height: WeatherAppSupport.Height let padding: SwiftUI.EdgeInsets } enum Resolved { case top(WeatherAppSupport.DynamicGridAdornmentPosition.Top) case trailing(WeatherAppSupport.DynamicGridAdornmentPosition.Trailing) case bottom(WeatherAppSupport.DynamicGridAdornmentPosition.Bottom) case below(WeatherAppSupport.DynamicGridAdornmentPosition.Below) var isBelow: Swift.Bool { get } var isTop: Swift.Bool { get } var isTopAlignedToContent: Swift.Bool? { get } var isTrailing: Swift.Bool { get } static func top(height: WeatherAppSupport.Height, horizontalAlignment: WeatherAppSupport.DynamicGridDecorationPosition.Top.HorizontalAlignment, padding: SwiftUI.EdgeInsets) -> WeatherAppSupport.DynamicGridAdornmentPosition.Resolved static func below<A>(_: A.Type, height: WeatherAppSupport.Height, padding: SwiftUI.EdgeInsets) -> WeatherAppSupport.DynamicGridAdornmentPosition.Resolved where A: WeatherAppSupport.DynamicGridSupplementaryViewID static func bottom(height: WeatherAppSupport.GridUnit, padding: SwiftUI.EdgeInsets) -> WeatherAppSupport.DynamicGridAdornmentPosition.Resolved static func trailing(width: WeatherAppSupport.Proportion, padding: SwiftUI.EdgeInsets) -> WeatherAppSupport.DynamicGridAdornmentPosition.Resolved } enum Width { case fixed(WeatherAppSupport.GridUnit) case computed(WeatherAppSupport.GeometryLayoutFunction<WeatherAppSupport.DynamicGridAdornmentPosition.ComputedWidth>) static func computed<A>(id: A, _: @escaping @Sendable (_: WeatherAppSupport.GeometryLayoutContext) -> WeatherAppSupport.DynamicGridAdornmentPosition.ComputedWidth) -> WeatherAppSupport.DynamicGridAdornmentPosition.Width where A: WeatherAppSupport.GeometryFunctionID } enum ComputedWidth { case fixed(WeatherAppSupport.GridUnit) case absolute(CoreGraphics.CGFloat) } case top(WeatherAppSupport.DynamicGridAdornmentPosition.Top) case trailing(WeatherAppSupport.DynamicGridAdornmentPosition.Trailing) case bottom(WeatherAppSupport.DynamicGridAdornmentPosition.Bottom) case below(WeatherAppSupport.DynamicGridAdornmentPosition.Below) case computed(WeatherAppSupport.GeometryLayoutFunction<WeatherAppSupport.DynamicGridAdornmentPosition.Resolved?>) static func top(height: WeatherAppSupport.Height, horizontalAlignment: WeatherAppSupport.DynamicGridDecorationPosition.Top.HorizontalAlignment, padding: SwiftUI.EdgeInsets) -> WeatherAppSupport.DynamicGridAdornmentPosition static func below<A>(_: A.Type, height: WeatherAppSupport.Height, padding: SwiftUI.EdgeInsets) -> WeatherAppSupport.DynamicGridAdornmentPosition where A: WeatherAppSupport.DynamicGridSupplementaryViewID static func bottom(height: WeatherAppSupport.GridUnit, padding: SwiftUI.EdgeInsets) -> WeatherAppSupport.DynamicGridAdornmentPosition static func computed<A>(id: A, _: @escaping @Sendable (_: WeatherAppSupport.GeometryLayoutContext) -> WeatherAppSupport.DynamicGridAdornmentPosition.Resolved?) -> WeatherAppSupport.DynamicGridAdornmentPosition where A: WeatherAppSupport.GeometryFunctionID static func trailing(width: WeatherAppSupport.Proportion, padding: SwiftUI.EdgeInsets) -> WeatherAppSupport.DynamicGridAdornmentPosition }