Structure
GyroData
public struct GyroData: Hashable
A single measurement of the device's rotation rate.
See the documentation for CMGyroData
for more info.
Relationships
Conforms To
Hashable
Initializers
init(_:)
public init(_ gyroData: CMGyroData)
init(rotationRate:timestamp:)
public init(
rotationRate: CMRotationRate,
timestamp: TimeInterval
)
Properties
rotationRate
public var rotationRate: CMRotationRate
timestamp
public var timestamp: TimeInterval
Methods
hash(into:)
public func hash(into hasher: inout Hasher)
Operators
==
public static func == (lhs: Self, rhs: Self) -> Bool