SwiftstructSnippetKit

struct SnippetKit._ProtoTextElement.Font

Structure

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

Members 9

  1. varstatic var _protobuf_nameMap: InternalSwiftProtobuf._NameMap { get }
  2. varstatic var protoMessageName: String { get }
  3. fieldvar unknownFields: InternalSwiftProtobuf.UnknownStorage
  4. fieldvar value: SnippetKit._ProtoTextElement.Font.OneOf_Value?
  5. funcdecodeMessage<A where A: InternalSwiftProtobuf.Decoder>(decoder: inout A) throws -> ()
  6. functraverse<A where A: InternalSwiftProtobuf.Visitor>(visitor: inout A) throws -> ()
  7. initinit() -> SnippetKit._ProtoTextElement.Font
  8. varvar named: SnippetKit._ProtoTextElement.Font.NamedFont { get set }
  9. varvar system: SnippetKit._ProtoTextElement.Font.SystemFont { get set }
struct SnippetKit._ProtoTextElement.Font {
    enum OneOf_Value {
        case named(SnippetKit._ProtoTextElement.Font.NamedFont)
        case system(SnippetKit._ProtoTextElement.Font.SystemFont)
    }
    enum NamedFont {
        case UNRECOGNIZED(Swift.Int)
        case largeTitle
        case title
        case title2
        case title3
        case headline
        case subheadline
        case body
        case callout
        case footnote
        case caption
        case caption2

        init()

        static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap {
            get
        }
    }
    enum Weight {
        case UNRECOGNIZED(Swift.Int)
        case regular
        case black
        case bold
        case heavy
        case light
        case medium
        case semibold
        case thin
        case ultralight

        init()

        var description: Swift.String {
            get
        }

        static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap {
            get
        }
    }
    enum Design {
        case UNRECOGNIZED(Swift.Int)
        case serif
        case rounded
        case monospaced

        init()

        var description: Swift.String {
            get
        }

        static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap {
            get
        }
    }
    struct SystemFont {
        var size: Swift.Float
        var weight: SnippetKit._ProtoTextElement.Font.Weight
        var design: SnippetKit._ProtoTextElement.Font.Design
        var unknownFields: InternalSwiftProtobuf.UnknownStorage

        init()

        func decodeMessage<A>(decoder: inout A) throws where A: InternalSwiftProtobuf.Decoder
        func traverse<A>(visitor: inout A) throws where A: InternalSwiftProtobuf.Visitor

        static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap {
            get
        }
        static var protoMessageName: Swift.String {
            get
        }
    }
    var value: SnippetKit._ProtoTextElement.Font.OneOf_Value?
    var unknownFields: InternalSwiftProtobuf.UnknownStorage

    init()

    var named: SnippetKit._ProtoTextElement.Font.NamedFont {
        get
        set
    }
    var system: SnippetKit._ProtoTextElement.Font.SystemFont {
        get
        set
    }

    func decodeMessage<A>(decoder: inout A) throws where A: InternalSwiftProtobuf.Decoder
    func traverse<A>(visitor: inout A) throws where A: InternalSwiftProtobuf.Visitor

    static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap {
        get
    }
    static var protoMessageName: Swift.String {
        get
    }
}