Count

public struct Count : OptionSet, Encodable

Determines default for values when it is not provided, by inferring a 1 for each of the leaves and/or branches, otherwise 0.

  • Declaration

    Swift

    public let rawValue: Int
  • Undocumented

    Declaration

    Swift

    public static var branches: Count { get }
  • Undocumented

    Declaration

    Swift

    public static var leaves: Count { get }
  • Declaration

    Swift

    public init(rawValue: Int)
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws