SwiftstructFoundation

struct NSDecimal.FormatStyle.Attributed

Structure

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

Members 5

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

    func format(_: __C.NSDecimal) -> Foundation.AttributedString
    func locale(_: Foundation.Locale) -> __C.NSDecimal.FormatStyle.Attributed
}