TransmissionType
@available(swift 4.0)
public struct TransmissionType : Encodable
extension TransmissionType: Equatable
extension TransmissionType: Hashable
ANT Transmission Type
-
Transmission types
See moreDeclaration
-
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
aandb,a == bimplies thata != bisfalse.Declaration
Swift
public static func == (lhs: TransmissionType, rhs: TransmissionType) -> BoolParameters
lhsA value to compare.
rhsAnother value to compare.
-
Hashes the essential components of this value by feeding them into the given hasher.
Implement this method to conform to the
Hashableprotocol. The components used for hashing must be the same as the components compared in your type’s==operator implementation. Callhasher.combine(_:)with each of these components.Important
Never call
finalize()onhasher. Doing so may become a compile-time error in the future.Declaration
Swift
public func hash(into hasher: inout Hasher)Parameters
hasherThe hasher to use when combining the components of this instance.