ComposableCoreMotion Documentation

Structure Gyro​Data

public struct GyroData: Hashable  

A single measurement of the device's rotation rate.

See the documentation for CMGyroData for more info.

%23 GyroData GyroData Hashable Hashable GyroData->Hashable

Conforms To

Hashable

Initializers

init(_:​)

public init(_ gyroData: CMGyroData)  

init(rotation​Rate:​timestamp:​)

public init(
      rotationRate: CMRotationRate,
      timestamp: TimeInterval
    )  

Properties

rotation​Rate

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