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

SignedNumeric conformance

  • 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)

Strideable conformance

ExpressibleByIntegerLiteral conformance

CustomDebugStringConvertible conformance

  • Declaration

    Swift

    public var debugDescription: String { get }