ViewportStatus
ViewportStatus contains 3 cases that express what the Viewport is doing at any given time.
The state(_:) and transition(_:toState:)
cases have associated values that are reference types, so equality and hash are implemented in terms of
the identities of those objects.
-
The
idlestatus indicates thatViewportis inactive. -
The
state(_:)status indicates thatViewportis running the associated valuestate. -
The
transition(_:toState:)status indicates thatViewportis runningtransitionand will start runningtoStateupon success. -
Compares two
ViewportStatusvalues. Returnstrueif and only if they are the same case and any associated values are identical. -
Combines the
ObjectIdentifierof each associated value intohasher.
ViewportStatus Enumeration Reference