GridEdge
public struct GridEdge : Equatable, Hashable, Comparable
The name of an edge in self
.
-
The source of the edge.
Declaration
Swift
public let source: Point2
-
The direction of movement from
source
to reach the destination.Declaration
Swift
public let direction: GridDirection
-
Declaration
Swift
public init(source: Point2, direction: GridDirection)
-
The destination of
self
.Declaration
Swift
public var destination: Point2 { get }
-
Arbitrary, stable ordering of
Self
s.Declaration
Swift
public static func < (lhs: `Self`, rhs: `Self`) -> Bool