VirtualTime
public struct VirtualTime : Hashable
extension VirtualTime: SignedNumeric
extension VirtualTime: Strideable
extension VirtualTime: ExpressibleByIntegerLiteral
extension VirtualTime: CustomDebugStringConvertible
Unit of virtual time consumed by the TestScheduler
-
Declaration
Swift
public typealias Magnitude = Int
-
Declaration
Swift
public var magnitude: Int { get }
-
Declaration
Swift
public init?<T>(exactly source: T) where T : BinaryInteger
-
Declaration
Swift
public static func * (lhs: VirtualTime, rhs: VirtualTime) -> VirtualTime
-
Declaration
Swift
public static func *= (lhs: inout VirtualTime, rhs: VirtualTime)
-
Declaration
Swift
public static func + (lhs: VirtualTime, rhs: VirtualTime) -> VirtualTime
-
Declaration
Swift
public static func - (lhs: VirtualTime, rhs: VirtualTime) -> VirtualTime
-
Declaration
Swift
public static func += (lhs: inout VirtualTime, rhs: VirtualTime)
-
Declaration
Swift
public static func -= (lhs: inout VirtualTime, rhs: VirtualTime)
-
Declaration
Swift
public typealias Stride = VirtualTimeInterval
-
Declaration
Swift
public func distance(to other: VirtualTime) -> VirtualTimeInterval
-
Declaration
Swift
public func advanced(by n: VirtualTimeInterval) -> VirtualTime
-
Declaration
Swift
public typealias IntegerLiteralType = Int
-
Declaration
Swift
public init(integerLiteral value: Int)
-
Declaration
Swift
public var debugDescription: String { get }