TransmissionType

@available(swift 4.0)
public struct TransmissionType : Encodable
extension TransmissionType: Equatable
extension TransmissionType: Hashable

ANT Transmission Type

  • Transmission types

    See more

    Declaration

    Swift

    public enum Transmission : UInt8
    extension TransmissionType.Transmission: Encodable
  • Raw Value

    Declaration

    Swift

    private(set) public var rawValue: UInt8 { get }
  • ANT Trans type

    Declaration

    Swift

    private(set) public var trans: Transmission { get }
  • Undocumented

    Declaration

    Swift

    public init(_ rawValue: UInt8)
  • Returns a Boolean value indicating whether two values are equal.

    Equality is the inverse of inequality. For any values a and b, a == b implies that a != b is false.

    Declaration

    Swift

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

    Parameters

    lhs

    A value to compare.

    rhs

    Another value to compare.

  • Hashes the essential components of this value by feeding them into the given hasher.

    Implement this method to conform to the Hashable protocol. The components used for hashing must be the same as the components compared in your type’s == operator implementation. Call hasher.combine(_:) with each of these components.

    Important

    Never call finalize() on hasher. Doing so may become a compile-time error in the future.

    Declaration

    Swift

    public func hash(into hasher: inout Hasher)

    Parameters

    hasher

    The hasher to use when combining the components of this instance.