Instance Propertyswift 6.0.1Swift
customMirror
Returns a mirror that reflects the UTF-16 view of a string.
var customMirror: Mirror { get }
Other members in extension
Types
Typealiases
Instance members
var count: Int
var debugDescription: String
var description: String
var endIndex: String.UTF16View.Index
The “past the end” position—that is, the position one greater than the last valid subscript argument.
var startIndex: String.UTF16View.Index
The position of the first code unit if the
String
is nonempty; identical toendIndex
otherwise.subscript(Range<String.UTF16View.Index>
) -> Substring.UTF16View subscript(String.UTF16View.Index
) -> UTF16.CodeUnit Accesses the code unit at the given position.
func distance(from: String.UTF16View.Index, to: String.UTF16View.Index
) -> Int func index(String.UTF16View.Index, offsetBy: Int
) -> String.UTF16View.Index func index(String.UTF16View.Index, offsetBy: Int, limitedBy: String.UTF16View.Index
) -> String.UTF16View.Index? func index(after: String.UTF16View.Index
) -> String.UTF16View.Index func index(before: String.UTF16View.Index
) -> String.UTF16View.Index func makeIterator(
) -> String.UTF16View.Iterator