BidiPair
public struct BidiPair
Represents a pair of a unicode code point at a specific index in source string.
-
The index of actual UTF-16 code unit.
Declaration
Swift
public var codeUnitIndex: Int -
The code point of actual character in source string.
Declaration
Swift
public var actualCodePoint: UnicodeScalar -
The code point of character forming a pair with actual character.
Declaration
Swift
public var pairingCodePoint: UnicodeScalar -
The index of actual character in source string.
Declaration
Swift
public var characterIndex: String.Index { get }
View on GitHub
Install in Dash
BidiPair Structure Reference