pub struct QChar { /* private fields */ }Expand description
C++ class: QChar.
Implementations§
Source§impl QChar
impl QChar
Sourcepub unsafe fn category_0a(&self) -> Category
pub unsafe fn category_0a(&self) -> Category
Calls C++ function: QChar::Category QChar::category() const.
Sourcepub unsafe fn category_1a(ucs4: c_uint) -> Category
pub unsafe fn category_1a(ucs4: c_uint) -> Category
Calls C++ function: static QChar::Category QChar::category(unsigned int ucs4).
Sourcepub unsafe fn combining_class_0a(&self) -> c_uchar
pub unsafe fn combining_class_0a(&self) -> c_uchar
Calls C++ function: unsigned char QChar::combiningClass() const.
Sourcepub unsafe fn combining_class_1a(ucs4: c_uint) -> c_uchar
pub unsafe fn combining_class_1a(ucs4: c_uint) -> c_uchar
Calls C++ function: static unsigned char QChar::combiningClass(unsigned int ucs4).
Sourcepub unsafe fn copy_from(&self, other: impl CastInto<Ref<QChar>>) -> Ref<QChar>
pub unsafe fn copy_from(&self, other: impl CastInto<Ref<QChar>>) -> Ref<QChar>
Calls C++ function: QChar& QChar::operator=(const QChar& other).
Sourcepub unsafe fn current_unicode_version() -> UnicodeVersion
pub unsafe fn current_unicode_version() -> UnicodeVersion
Calls C++ function: static QChar::UnicodeVersion QChar::currentUnicodeVersion().
Sourcepub unsafe fn decomposition_0a(&self) -> CppBox<QString>
pub unsafe fn decomposition_0a(&self) -> CppBox<QString>
Calls C++ function: QString QChar::decomposition() const.
Sourcepub unsafe fn decomposition_1a(ucs4: c_uint) -> CppBox<QString>
pub unsafe fn decomposition_1a(ucs4: c_uint) -> CppBox<QString>
Calls C++ function: static QString QChar::decomposition(unsigned int ucs4).
Sourcepub unsafe fn decomposition_tag_0a(&self) -> Decomposition
pub unsafe fn decomposition_tag_0a(&self) -> Decomposition
Calls C++ function: QChar::Decomposition QChar::decompositionTag() const.
Sourcepub unsafe fn decomposition_tag_1a(ucs4: c_uint) -> Decomposition
pub unsafe fn decomposition_tag_1a(ucs4: c_uint) -> Decomposition
Calls C++ function: static QChar::Decomposition QChar::decompositionTag(unsigned int ucs4).
Sourcepub unsafe fn digit_value_0a(&self) -> c_int
pub unsafe fn digit_value_0a(&self) -> c_int
Calls C++ function: int QChar::digitValue() const.
Sourcepub unsafe fn digit_value_1a(ucs4: c_uint) -> c_int
pub unsafe fn digit_value_1a(ucs4: c_uint) -> c_int
Calls C++ function: static int QChar::digitValue(unsigned int ucs4).
Sourcepub unsafe fn direction_0a(&self) -> Direction
pub unsafe fn direction_0a(&self) -> Direction
Calls C++ function: QChar::Direction QChar::direction() const.
Sourcepub unsafe fn direction_1a(ucs4: c_uint) -> Direction
pub unsafe fn direction_1a(ucs4: c_uint) -> Direction
Calls C++ function: static QChar::Direction QChar::direction(unsigned int ucs4).
Sourcepub unsafe fn from_latin1(c: c_char) -> CppBox<QChar>
pub unsafe fn from_latin1(c: c_char) -> CppBox<QChar>
Calls C++ function: static QChar QChar::fromLatin1(char c).
Sourcepub unsafe fn has_mirrored_0a(&self) -> bool
pub unsafe fn has_mirrored_0a(&self) -> bool
Calls C++ function: bool QChar::hasMirrored() const.
Sourcepub unsafe fn has_mirrored_1a(ucs4: c_uint) -> bool
pub unsafe fn has_mirrored_1a(ucs4: c_uint) -> bool
Calls C++ function: static bool QChar::hasMirrored(unsigned int ucs4).
Sourcepub unsafe fn high_surrogate(ucs4: c_uint) -> c_ushort
pub unsafe fn high_surrogate(ucs4: c_uint) -> c_ushort
Calls C++ function: static unsigned short QChar::highSurrogate(unsigned int ucs4).
Sourcepub unsafe fn is_digit_0a(&self) -> bool
pub unsafe fn is_digit_0a(&self) -> bool
Calls C++ function: bool QChar::isDigit() const.
Sourcepub unsafe fn is_digit_1a(ucs4: c_uint) -> bool
pub unsafe fn is_digit_1a(ucs4: c_uint) -> bool
Calls C++ function: static bool QChar::isDigit(unsigned int ucs4).
Sourcepub unsafe fn is_high_surrogate_0a(&self) -> bool
pub unsafe fn is_high_surrogate_0a(&self) -> bool
Calls C++ function: bool QChar::isHighSurrogate() const.
Sourcepub unsafe fn is_high_surrogate_1a(ucs4: c_uint) -> bool
pub unsafe fn is_high_surrogate_1a(ucs4: c_uint) -> bool
Calls C++ function: static bool QChar::isHighSurrogate(unsigned int ucs4).
Sourcepub unsafe fn is_letter_0a(&self) -> bool
pub unsafe fn is_letter_0a(&self) -> bool
Calls C++ function: bool QChar::isLetter() const.
Sourcepub unsafe fn is_letter_1a(ucs4: c_uint) -> bool
pub unsafe fn is_letter_1a(ucs4: c_uint) -> bool
Calls C++ function: static bool QChar::isLetter(unsigned int ucs4).
Sourcepub unsafe fn is_letter_or_number_0a(&self) -> bool
pub unsafe fn is_letter_or_number_0a(&self) -> bool
Calls C++ function: bool QChar::isLetterOrNumber() const.
Sourcepub unsafe fn is_letter_or_number_1a(ucs4: c_uint) -> bool
pub unsafe fn is_letter_or_number_1a(ucs4: c_uint) -> bool
Calls C++ function: static bool QChar::isLetterOrNumber(unsigned int ucs4).
Sourcepub unsafe fn is_low_surrogate_0a(&self) -> bool
pub unsafe fn is_low_surrogate_0a(&self) -> bool
Calls C++ function: bool QChar::isLowSurrogate() const.
Sourcepub unsafe fn is_low_surrogate_1a(ucs4: c_uint) -> bool
pub unsafe fn is_low_surrogate_1a(ucs4: c_uint) -> bool
Calls C++ function: static bool QChar::isLowSurrogate(unsigned int ucs4).
Sourcepub unsafe fn is_lower_0a(&self) -> bool
pub unsafe fn is_lower_0a(&self) -> bool
Calls C++ function: bool QChar::isLower() const.
Sourcepub unsafe fn is_lower_1a(ucs4: c_uint) -> bool
pub unsafe fn is_lower_1a(ucs4: c_uint) -> bool
Calls C++ function: static bool QChar::isLower(unsigned int ucs4).
Sourcepub unsafe fn is_mark_0a(&self) -> bool
pub unsafe fn is_mark_0a(&self) -> bool
Calls C++ function: bool QChar::isMark() const.
Sourcepub unsafe fn is_mark_1a(ucs4: c_uint) -> bool
pub unsafe fn is_mark_1a(ucs4: c_uint) -> bool
Calls C++ function: static bool QChar::isMark(unsigned int ucs4).
Sourcepub unsafe fn is_non_character_0a(&self) -> bool
pub unsafe fn is_non_character_0a(&self) -> bool
Calls C++ function: bool QChar::isNonCharacter() const.
Sourcepub unsafe fn is_non_character_1a(ucs4: c_uint) -> bool
pub unsafe fn is_non_character_1a(ucs4: c_uint) -> bool
Calls C++ function: static bool QChar::isNonCharacter(unsigned int ucs4).
Sourcepub unsafe fn is_number_0a(&self) -> bool
pub unsafe fn is_number_0a(&self) -> bool
Calls C++ function: bool QChar::isNumber() const.
Sourcepub unsafe fn is_number_1a(ucs4: c_uint) -> bool
pub unsafe fn is_number_1a(ucs4: c_uint) -> bool
Calls C++ function: static bool QChar::isNumber(unsigned int ucs4).
Sourcepub unsafe fn is_print_0a(&self) -> bool
pub unsafe fn is_print_0a(&self) -> bool
Calls C++ function: bool QChar::isPrint() const.
Sourcepub unsafe fn is_print_1a(ucs4: c_uint) -> bool
pub unsafe fn is_print_1a(ucs4: c_uint) -> bool
Calls C++ function: static bool QChar::isPrint(unsigned int ucs4).
Sourcepub unsafe fn is_punct_0a(&self) -> bool
pub unsafe fn is_punct_0a(&self) -> bool
Calls C++ function: bool QChar::isPunct() const.
Sourcepub unsafe fn is_punct_1a(ucs4: c_uint) -> bool
pub unsafe fn is_punct_1a(ucs4: c_uint) -> bool
Calls C++ function: static bool QChar::isPunct(unsigned int ucs4).
Sourcepub unsafe fn is_space_0a(&self) -> bool
pub unsafe fn is_space_0a(&self) -> bool
Calls C++ function: bool QChar::isSpace() const.
Sourcepub unsafe fn is_space_1a(ucs4: c_uint) -> bool
pub unsafe fn is_space_1a(ucs4: c_uint) -> bool
Calls C++ function: static bool QChar::isSpace(unsigned int ucs4).
Sourcepub unsafe fn is_surrogate_0a(&self) -> bool
pub unsafe fn is_surrogate_0a(&self) -> bool
Calls C++ function: bool QChar::isSurrogate() const.
Sourcepub unsafe fn is_surrogate_1a(ucs4: c_uint) -> bool
pub unsafe fn is_surrogate_1a(ucs4: c_uint) -> bool
Calls C++ function: static bool QChar::isSurrogate(unsigned int ucs4).
Sourcepub unsafe fn is_symbol_0a(&self) -> bool
pub unsafe fn is_symbol_0a(&self) -> bool
Calls C++ function: bool QChar::isSymbol() const.
Sourcepub unsafe fn is_symbol_1a(ucs4: c_uint) -> bool
pub unsafe fn is_symbol_1a(ucs4: c_uint) -> bool
Calls C++ function: static bool QChar::isSymbol(unsigned int ucs4).
Sourcepub unsafe fn is_title_case_0a(&self) -> bool
pub unsafe fn is_title_case_0a(&self) -> bool
Calls C++ function: bool QChar::isTitleCase() const.
Sourcepub unsafe fn is_title_case_1a(ucs4: c_uint) -> bool
pub unsafe fn is_title_case_1a(ucs4: c_uint) -> bool
Calls C++ function: static bool QChar::isTitleCase(unsigned int ucs4).
Sourcepub unsafe fn is_upper_0a(&self) -> bool
pub unsafe fn is_upper_0a(&self) -> bool
Calls C++ function: bool QChar::isUpper() const.
Sourcepub unsafe fn is_upper_1a(ucs4: c_uint) -> bool
pub unsafe fn is_upper_1a(ucs4: c_uint) -> bool
Calls C++ function: static bool QChar::isUpper(unsigned int ucs4).
Sourcepub unsafe fn joining_0a(&self) -> Joining
pub unsafe fn joining_0a(&self) -> Joining
Calls C++ function: QChar::Joining QChar::joining() const.
Sourcepub unsafe fn joining_1a(ucs4: c_uint) -> Joining
pub unsafe fn joining_1a(ucs4: c_uint) -> Joining
Calls C++ function: static QChar::Joining QChar::joining(unsigned int ucs4).
Sourcepub unsafe fn joining_type_0a(&self) -> JoiningType
pub unsafe fn joining_type_0a(&self) -> JoiningType
Calls C++ function: QChar::JoiningType QChar::joiningType() const.
Sourcepub unsafe fn joining_type_1a(ucs4: c_uint) -> JoiningType
pub unsafe fn joining_type_1a(ucs4: c_uint) -> JoiningType
Calls C++ function: static QChar::JoiningType QChar::joiningType(unsigned int ucs4).
Sourcepub unsafe fn low_surrogate(ucs4: c_uint) -> c_ushort
pub unsafe fn low_surrogate(ucs4: c_uint) -> c_ushort
Calls C++ function: static unsigned short QChar::lowSurrogate(unsigned int ucs4).
Sourcepub unsafe fn mirrored_char_0a(&self) -> CppBox<QChar>
pub unsafe fn mirrored_char_0a(&self) -> CppBox<QChar>
Calls C++ function: QChar QChar::mirroredChar() const.
Sourcepub unsafe fn mirrored_char_1a(ucs4: c_uint) -> c_uint
pub unsafe fn mirrored_char_1a(ucs4: c_uint) -> c_uint
Calls C++ function: static unsigned int QChar::mirroredChar(unsigned int ucs4).
Sourcepub unsafe fn from_ushort(rc: c_ushort) -> CppBox<QChar>
pub unsafe fn from_ushort(rc: c_ushort) -> CppBox<QChar>
Calls C++ function: [constructor] void QChar::QChar(unsigned short rc).
Sourcepub unsafe fn from_2_uchar(c: c_uchar, r: c_uchar) -> CppBox<QChar>
pub unsafe fn from_2_uchar(c: c_uchar, r: c_uchar) -> CppBox<QChar>
Calls C++ function: [constructor] void QChar::QChar(unsigned char c, unsigned char r).
Sourcepub unsafe fn from_short(rc: c_short) -> CppBox<QChar>
pub unsafe fn from_short(rc: c_short) -> CppBox<QChar>
Calls C++ function: [constructor] void QChar::QChar(short rc).
Sourcepub unsafe fn from_uint(rc: c_uint) -> CppBox<QChar>
pub unsafe fn from_uint(rc: c_uint) -> CppBox<QChar>
Calls C++ function: [constructor] void QChar::QChar(unsigned int rc).
Sourcepub unsafe fn from_int(rc: c_int) -> CppBox<QChar>
pub unsafe fn from_int(rc: c_int) -> CppBox<QChar>
Calls C++ function: [constructor] void QChar::QChar(int rc).
Sourcepub unsafe fn from_special_character(s: SpecialCharacter) -> CppBox<QChar>
pub unsafe fn from_special_character(s: SpecialCharacter) -> CppBox<QChar>
Calls C++ function: [constructor] void QChar::QChar(QChar::SpecialCharacter s).
Sourcepub unsafe fn from_q_latin1_char(
ch: impl CastInto<Ref<QLatin1Char>>,
) -> CppBox<QChar>
pub unsafe fn from_q_latin1_char( ch: impl CastInto<Ref<QLatin1Char>>, ) -> CppBox<QChar>
Calls C++ function: [constructor] void QChar::QChar(QLatin1Char ch).
Sourcepub unsafe fn from_char16_t(ch: char16_t) -> CppBox<QChar>
pub unsafe fn from_char16_t(ch: char16_t) -> CppBox<QChar>
Calls C++ function: [constructor] void QChar::QChar(char16_t ch).
Sourcepub unsafe fn from_char(c: c_char) -> CppBox<QChar>
pub unsafe fn from_char(c: c_char) -> CppBox<QChar>
Calls C++ function: [constructor] void QChar::QChar(char c).
Sourcepub unsafe fn from_uchar(c: c_uchar) -> CppBox<QChar>
pub unsafe fn from_uchar(c: c_uchar) -> CppBox<QChar>
Calls C++ function: [constructor] void QChar::QChar(unsigned char c).
Sourcepub unsafe fn new_copy(other: impl CastInto<Ref<QChar>>) -> CppBox<QChar>
pub unsafe fn new_copy(other: impl CastInto<Ref<QChar>>) -> CppBox<QChar>
Calls C++ function: [constructor] void QChar::QChar(const QChar& other).
Sourcepub unsafe fn requires_surrogates(ucs4: c_uint) -> bool
pub unsafe fn requires_surrogates(ucs4: c_uint) -> bool
Calls C++ function: static bool QChar::requiresSurrogates(unsigned int ucs4).
Sourcepub unsafe fn script_0a(&self) -> Script
pub unsafe fn script_0a(&self) -> Script
Calls C++ function: QChar::Script QChar::script() const.
Sourcepub unsafe fn script_1a(ucs4: c_uint) -> Script
pub unsafe fn script_1a(ucs4: c_uint) -> Script
Calls C++ function: static QChar::Script QChar::script(unsigned int ucs4).
Sourcepub unsafe fn set_cell(&self, acell: c_uchar)
pub unsafe fn set_cell(&self, acell: c_uchar)
Calls C++ function: void QChar::setCell(unsigned char acell).
Sourcepub unsafe fn set_row(&self, arow: c_uchar)
pub unsafe fn set_row(&self, arow: c_uchar)
Calls C++ function: void QChar::setRow(unsigned char arow).
Sourcepub unsafe fn surrogate_to_ucs4_2_ushort(
high: c_ushort,
low: c_ushort,
) -> c_uint
pub unsafe fn surrogate_to_ucs4_2_ushort( high: c_ushort, low: c_ushort, ) -> c_uint
Calls C++ function: static unsigned int QChar::surrogateToUcs4(unsigned short high, unsigned short low).
Sourcepub unsafe fn surrogate_to_ucs4_2_q_char(
high: impl CastInto<Ref<QChar>>,
low: impl CastInto<Ref<QChar>>,
) -> c_uint
pub unsafe fn surrogate_to_ucs4_2_q_char( high: impl CastInto<Ref<QChar>>, low: impl CastInto<Ref<QChar>>, ) -> c_uint
Calls C++ function: static unsigned int QChar::surrogateToUcs4(QChar high, QChar low).
Sourcepub unsafe fn to_case_folded_0a(&self) -> CppBox<QChar>
pub unsafe fn to_case_folded_0a(&self) -> CppBox<QChar>
Calls C++ function: QChar QChar::toCaseFolded() const.
Sourcepub unsafe fn to_case_folded_1a(ucs4: c_uint) -> c_uint
pub unsafe fn to_case_folded_1a(ucs4: c_uint) -> c_uint
Calls C++ function: static unsigned int QChar::toCaseFolded(unsigned int ucs4).
Sourcepub unsafe fn to_lower_0a(&self) -> CppBox<QChar>
pub unsafe fn to_lower_0a(&self) -> CppBox<QChar>
Calls C++ function: QChar QChar::toLower() const.
Sourcepub unsafe fn to_lower_1a(ucs4: c_uint) -> c_uint
pub unsafe fn to_lower_1a(ucs4: c_uint) -> c_uint
Calls C++ function: static unsigned int QChar::toLower(unsigned int ucs4).
Sourcepub unsafe fn to_title_case_0a(&self) -> CppBox<QChar>
pub unsafe fn to_title_case_0a(&self) -> CppBox<QChar>
Calls C++ function: QChar QChar::toTitleCase() const.
Sourcepub unsafe fn to_title_case_1a(ucs4: c_uint) -> c_uint
pub unsafe fn to_title_case_1a(ucs4: c_uint) -> c_uint
Calls C++ function: static unsigned int QChar::toTitleCase(unsigned int ucs4).
Sourcepub unsafe fn to_upper_0a(&self) -> CppBox<QChar>
pub unsafe fn to_upper_0a(&self) -> CppBox<QChar>
Calls C++ function: QChar QChar::toUpper() const.
Sourcepub unsafe fn to_upper_1a(ucs4: c_uint) -> c_uint
pub unsafe fn to_upper_1a(ucs4: c_uint) -> c_uint
Calls C++ function: static unsigned int QChar::toUpper(unsigned int ucs4).
Sourcepub unsafe fn unicode(&self) -> c_ushort
pub unsafe fn unicode(&self) -> c_ushort
Calls C++ function: unsigned short QChar::unicode() const.
Sourcepub unsafe fn unicode_mut(&self) -> *mut c_ushort
pub unsafe fn unicode_mut(&self) -> *mut c_ushort
Calls C++ function: unsigned short& QChar::unicode().
Sourcepub unsafe fn unicode_version_0a(&self) -> UnicodeVersion
pub unsafe fn unicode_version_0a(&self) -> UnicodeVersion
Calls C++ function: QChar::UnicodeVersion QChar::unicodeVersion() const.
Sourcepub unsafe fn unicode_version_1a(ucs4: c_uint) -> UnicodeVersion
pub unsafe fn unicode_version_1a(ucs4: c_uint) -> UnicodeVersion
Calls C++ function: static QChar::UnicodeVersion QChar::unicodeVersion(unsigned int ucs4).