Instance Methodswift 6.0.1Swift
index(after:)
- iOS
- 18.0+
- macOS
- 15.0+
- tvOS
- 18.0+
- visionOS
- 2.0+
- watchOS
- 11.0+
func index(after i: DiscontiguousSlice<Base>.Index) -> DiscontiguousSlice<Base>.Index
Other members in extension
Types
struct Index
A position in a
DiscontiguousSlice
.
Typealiases
Instance members
var count: Int
var description: String
var endIndex: DiscontiguousSlice<Base>.Index
var isEmpty: Bool
var startIndex: DiscontiguousSlice<Base>.Index
subscript(DiscontiguousSlice<Base>.Index
) -> Base.Element subscript(Range<DiscontiguousSlice<Base>.Index>
) -> DiscontiguousSlice<Base> func distance(from: DiscontiguousSlice<Base>.Index, to: DiscontiguousSlice<Base>.Index
) -> Int