Limit

public enum Limit

Enum to specify a limit

  • No limit

    Declaration

    Swift

    case unlimited
  • Limited to a specific number

    Declaration

    Swift

    case limited(Double)
  • Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws
  • Declaration

    Swift

    public static func == (lhs: Limit, rhs: Limit) -> Bool