StringRange

struct StringRange

A half-open pair of StringIndex values for grapheme-safe slicing.

Both endpoints must belong to the same storage snapshot and bounded view, and start must not follow end. StringMethods.slice validates those invariants before constructing a borrowed Substring.

Properties