BoundedRangeProtocol
internal protocol BoundedRangeProtocol : RangeExpression
Undocumented
-
Undocumented
Declaration
Swift
var lowerBound: Bound { get } -
Undocumented
Declaration
Swift
var upperBound: Bound { get } -
isEmptyDefault implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
var isEmpty: Bool { get } -
Undocumented
Declaration
Swift
init(uncheckedBounds: (lower: Bound, upper: Bound)) -
init(bounds:_:)Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
init(bounds bound1: Bound, _ bound2: Bound) -
init(_:)Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
init(_ range: Self) -
location(of:)Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
func location(of value: Bound) -> BoundLocation -
formsContiguousUnion(with:)Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
func formsContiguousUnion(with value: Bound) -> Bool -
Undocumented
Declaration
Swift
func formsContiguousUnion(with range: Self) -> Bool -
contiguousUnion(_:)Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
func contiguousUnion(_ value: Bound) -> `Self`? -
Undocumented
Declaration
Swift
func contiguousUnion(_ range: Self) -> `Self`? -
union(_:)Default implementationUndocumented
Default Implementation
Undocumented
Undocumented
Declaration
Swift
func union(_ value: Bound) -> Self -
Undocumented
Declaration
Swift
func union(_ other: Self) -> Self -
clamp(_:)Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
func clamp(_ value: Bound) -> Bound
-
spanExtension methodUndocumented
Declaration
Swift
internal var span: Bound.Stride { get }
View on GitHub
Install in Dash
BoundedRangeProtocol Protocol Reference