SwiftstructFoundation

struct Foundation.IntegerFormatStyle.Attributed

Structure

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

Members 5

  1. fieldvar style: Foundation.IntegerFormatStyle<A>.Attributed.Style
  2. funcformat(A) -> Foundation.AttributedString
  3. funclocale(Foundation.Locale) -> Foundation.IntegerFormatStyle<A>.Attributed
  4. typealiastypealias FormatInput = A
  5. typealiastypealias FormatOutput = Foundation.AttributedString
struct Foundation.IntegerFormatStyle.Attributed {
    enum CodingKeys {
        case style
    }
    enum Style {
        enum CodingKeys {
            case integer
            case percent
            case currency
        }
        case integer(Foundation.IntegerFormatStyle<A>)
        case percent(Foundation.IntegerFormatStyle<A>.Percent)
        case currency(Foundation.IntegerFormatStyle<A>.Currency)
    }
    var style: Foundation.IntegerFormatStyle<A>.Attributed.Style

    func format(_: A) -> Foundation.AttributedString
    func locale(_: Foundation.Locale) -> Foundation.IntegerFormatStyle<A>.Attributed
}