Ordering

public extension Ordering
  • Cast constructor, converting any binary integer to a Ordering.

    Declaration

    Swift

    @inlinable
    init!<I>(_ raw: I) where I : BinaryInteger

    Parameters

    raw

    The raw integer value to initialise the enum from

  • the first value is smaller than the second

    Declaration

    Swift

    static let smaller: GtkOrdering
  • the two values are equal

    Declaration

    Swift

    static let equal: GtkOrdering
  • the first value is larger than the second

    Declaration

    Swift

    static let larger: GtkOrdering