SwiftstructWidgetPreviewsSupport

struct WidgetPreviewsSupport.WidgetPreviewResult.Annotation

Structure

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

Members 7

  1. fieldvar description: String+0x8
  2. fieldvar path: String?+0x18
  3. fieldvar type: WidgetPreviewsSupport.WidgetPreviewResult.Annotation.AnnotationType+0x0
  4. initinit(propertyListValue: PreviewsFoundationOS.PropertyList) throws -> WidgetPreviewsSupport.WidgetPreviewResult.Annotation
  5. initinit(type: WidgetPreviewsSupport.WidgetPreviewResult.Annotation.AnnotationType, description: String, path: String?) -> WidgetPreviewsSupport.WidgetPreviewResult.Annotation
  6. typealiastypealias PropertyListValue = PreviewsFoundationOS.PropertyList
  7. varvar propertyListValue: PreviewsFoundationOS.PropertyList { get }
struct WidgetPreviewsSupport.WidgetPreviewResult.Annotation {
    enum AnnotationType {
        case warning
        case error
    }
    enum Key {
        case type
        case description
        case path
    }
    var type: WidgetPreviewsSupport.WidgetPreviewResult.Annotation.AnnotationType
    var description: Swift.String
    var path: Swift.String?

    init(propertyListValue: PreviewsFoundationOS.PropertyList) throws
    init(type: WidgetPreviewsSupport.WidgetPreviewResult.Annotation.AnnotationType, description: Swift.String, path: Swift.String?)

    var propertyListValue: PreviewsFoundationOS.PropertyList {
        get
    }
}