SwiftenumWeatherAppSupport

enum WeatherAppSupport.DynamicGridAdornmentPosition

Structure

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

inherits{}

Members 10

  1. funcstatic below<A where A: WeatherAppSupport.DynamicGridSupplementaryViewID>(_: A.Type, height: WeatherAppSupport.Height, padding: SwiftUI.EdgeInsets) -> WeatherAppSupport.DynamicGridAdornmentPosition
  2. funcstatic bottom(height: WeatherAppSupport.GridUnit, padding: SwiftUI.EdgeInsets) -> WeatherAppSupport.DynamicGridAdornmentPosition
  3. funcstatic computed<A where A: WeatherAppSupport.GeometryFunctionID>(id: A, _: @Sendable (WeatherAppSupport.GeometryLayoutContext) -> WeatherAppSupport.DynamicGridAdornmentPosition.Resolved?) -> WeatherAppSupport.DynamicGridAdornmentPosition
  4. funcstatic top(height: WeatherAppSupport.Height, horizontalAlignment: WeatherAppSupport.DynamicGridDecorationPosition.Top.HorizontalAlignment, padding: SwiftUI.EdgeInsets) -> WeatherAppSupport.DynamicGridAdornmentPosition
  5. funcstatic trailing(width: WeatherAppSupport.Proportion, padding: SwiftUI.EdgeInsets) -> WeatherAppSupport.DynamicGridAdornmentPosition
  6. casecase below(WeatherAppSupport.DynamicGridAdornmentPosition.Below)
  7. casecase bottom(WeatherAppSupport.DynamicGridAdornmentPosition.Bottom)
  8. casecase computed(WeatherAppSupport.GeometryLayoutFunction<WeatherAppSupport.DynamicGridAdornmentPosition.Resolved?>)
  9. casecase top(WeatherAppSupport.DynamicGridAdornmentPosition.Top)
  10. casecase trailing(WeatherAppSupport.DynamicGridAdornmentPosition.Trailing)
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
}