Enumerationfwcd.swift-utils 4.6.2Utils
Axis
An axis in the 2D-plane.
enum Axis
An axis in the 2D-plane.
enum Axis
import Utils
case x
case y
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
init?(rawValue: String)
var asUnitVector: Vec2<Int> { get }
var hashValue: Int { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)