associatedtype Compared
A type that the sort comparator can compare.
Availability 有効性
Technology
func compare(_ lhs: Self.Compared
, _ rhs: Self.Compared
) -> ComparisonResult
lhs
The first element to compare. 比較する最初の要素。
rhs
The second element to compare. 比較する2番目の要素。
The relative ordering between the two elements according to the sort order of the comparator.
associatedtype Compared