Skip to main content

QStringRef

Struct QStringRef 

Source
pub struct QStringRef { /* private fields */ }
Expand description

C++ class: QStringRef.

Implementations§

Source§

impl QStringRef

Source

pub unsafe fn append_to( &self, string: impl CastInto<Ptr<QString>>, ) -> CppBox<QStringRef>

Calls C++ function: QStringRef QStringRef::appendTo(QString* string) const.

Source

pub unsafe fn at(&self, i: c_int) -> CppBox<QChar>

Calls C++ function: QChar QStringRef::at(int i) const.

Source

pub unsafe fn back(&self) -> CppBox<QChar>

Calls C++ function: QChar QStringRef::back() const.

Source

pub unsafe fn begin(&self) -> Ptr<QChar>

Calls C++ function: const QChar* QStringRef::begin() const.

Source

pub unsafe fn cbegin(&self) -> Ptr<QChar>

Calls C++ function: const QChar* QStringRef::cbegin() const.

Source

pub unsafe fn cend(&self) -> Ptr<QChar>

Calls C++ function: const QChar* QStringRef::cend() const.

Source

pub unsafe fn chop(&self, n: c_int)

Calls C++ function: void QStringRef::chop(int n).

Source

pub unsafe fn chopped(&self, n: c_int) -> CppBox<QStringRef>

Calls C++ function: QStringRef QStringRef::chopped(int n) const.

Source

pub unsafe fn clear(&self)

Calls C++ function: void QStringRef::clear().

Source

pub unsafe fn compare_q_string_case_sensitivity( &self, s: impl CastInto<Ref<QString>>, cs: CaseSensitivity, ) -> c_int

Calls C++ function: int QStringRef::compare(const QString& s, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn compare_q_string_ref_case_sensitivity( &self, s: impl CastInto<Ref<QStringRef>>, cs: CaseSensitivity, ) -> c_int

Calls C++ function: int QStringRef::compare(const QStringRef& s, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn compare_q_char_case_sensitivity( &self, c: impl CastInto<Ref<QChar>>, cs: CaseSensitivity, ) -> c_int

Calls C++ function: int QStringRef::compare(QChar c, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn compare_q_latin1_string_case_sensitivity( &self, s: impl CastInto<Ref<QLatin1String>>, cs: CaseSensitivity, ) -> c_int

Calls C++ function: int QStringRef::compare(QLatin1String s, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn compare_q_byte_array_case_sensitivity( &self, s: impl CastInto<Ref<QByteArray>>, cs: CaseSensitivity, ) -> c_int

Calls C++ function: int QStringRef::compare(const QByteArray& s, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn compare_q_string_ref_q_string_case_sensitivity( s1: impl CastInto<Ref<QStringRef>>, s2: impl CastInto<Ref<QString>>, arg3: CaseSensitivity, ) -> c_int

Calls C++ function: static int QStringRef::compare(const QStringRef& s1, const QString& s2, Qt::CaseSensitivity arg3 = …).

Source

pub unsafe fn compare_2_q_string_ref_case_sensitivity( s1: impl CastInto<Ref<QStringRef>>, s2: impl CastInto<Ref<QStringRef>>, arg3: CaseSensitivity, ) -> c_int

Calls C++ function: static int QStringRef::compare(const QStringRef& s1, const QStringRef& s2, Qt::CaseSensitivity arg3 = …).

Source

pub unsafe fn compare_q_string_ref_q_latin1_string_case_sensitivity( s1: impl CastInto<Ref<QStringRef>>, s2: impl CastInto<Ref<QLatin1String>>, cs: CaseSensitivity, ) -> c_int

Calls C++ function: static int QStringRef::compare(const QStringRef& s1, QLatin1String s2, Qt::CaseSensitivity cs = …).

Source

pub unsafe fn compare_q_string(&self, s: impl CastInto<Ref<QString>>) -> c_int

Calls C++ function: int QStringRef::compare(const QString& s) const.

Source

pub unsafe fn compare_q_string_ref( &self, s: impl CastInto<Ref<QStringRef>>, ) -> c_int

Calls C++ function: int QStringRef::compare(const QStringRef& s) const.

Source

pub unsafe fn compare_q_char(&self, c: impl CastInto<Ref<QChar>>) -> c_int

Calls C++ function: int QStringRef::compare(QChar c) const.

Source

pub unsafe fn compare_q_latin1_string( &self, s: impl CastInto<Ref<QLatin1String>>, ) -> c_int

Calls C++ function: int QStringRef::compare(QLatin1String s) const.

Source

pub unsafe fn compare_q_byte_array( &self, s: impl CastInto<Ref<QByteArray>>, ) -> c_int

Calls C++ function: int QStringRef::compare(const QByteArray& s) const.

Source

pub unsafe fn compare_q_string_ref_q_string( s1: impl CastInto<Ref<QStringRef>>, s2: impl CastInto<Ref<QString>>, ) -> c_int

Calls C++ function: static int QStringRef::compare(const QStringRef& s1, const QString& s2).

Source

pub unsafe fn compare_2_q_string_ref( s1: impl CastInto<Ref<QStringRef>>, s2: impl CastInto<Ref<QStringRef>>, ) -> c_int

Calls C++ function: static int QStringRef::compare(const QStringRef& s1, const QStringRef& s2).

Source

pub unsafe fn compare_q_string_ref_q_latin1_string( s1: impl CastInto<Ref<QStringRef>>, s2: impl CastInto<Ref<QLatin1String>>, ) -> c_int

Calls C++ function: static int QStringRef::compare(const QStringRef& s1, QLatin1String s2).

Source

pub unsafe fn const_begin(&self) -> Ptr<QChar>

Calls C++ function: const QChar* QStringRef::constBegin() const.

Source

pub unsafe fn const_data(&self) -> Ptr<QChar>

Calls C++ function: const QChar* QStringRef::constData() const.

Source

pub unsafe fn const_end(&self) -> Ptr<QChar>

Calls C++ function: const QChar* QStringRef::constEnd() const.

Source

pub unsafe fn contains_q_string_case_sensitivity( &self, str: impl CastInto<Ref<QString>>, cs: CaseSensitivity, ) -> bool

Calls C++ function: bool QStringRef::contains(const QString& str, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn contains_q_string_ref_case_sensitivity( &self, str: impl CastInto<Ref<QStringRef>>, cs: CaseSensitivity, ) -> bool

Calls C++ function: bool QStringRef::contains(const QStringRef& str, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn contains_q_char_case_sensitivity( &self, ch: impl CastInto<Ref<QChar>>, cs: CaseSensitivity, ) -> bool

Calls C++ function: bool QStringRef::contains(QChar ch, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn contains_q_latin1_string_case_sensitivity( &self, str: impl CastInto<Ref<QLatin1String>>, cs: CaseSensitivity, ) -> bool

Calls C++ function: bool QStringRef::contains(QLatin1String str, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn contains_q_string_view_case_sensitivity( &self, str: impl CastInto<Ref<QStringView>>, cs: CaseSensitivity, ) -> bool

Calls C++ function: bool QStringRef::contains(QStringView str, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn contains_q_string(&self, str: impl CastInto<Ref<QString>>) -> bool

Calls C++ function: bool QStringRef::contains(const QString& str) const.

Source

pub unsafe fn contains_q_string_ref( &self, str: impl CastInto<Ref<QStringRef>>, ) -> bool

Calls C++ function: bool QStringRef::contains(const QStringRef& str) const.

Source

pub unsafe fn contains_q_char(&self, ch: impl CastInto<Ref<QChar>>) -> bool

Calls C++ function: bool QStringRef::contains(QChar ch) const.

Source

pub unsafe fn contains_q_latin1_string( &self, str: impl CastInto<Ref<QLatin1String>>, ) -> bool

Calls C++ function: bool QStringRef::contains(QLatin1String str) const.

Source

pub unsafe fn contains_q_string_view( &self, str: impl CastInto<Ref<QStringView>>, ) -> bool

Calls C++ function: bool QStringRef::contains(QStringView str) const.

Source

pub unsafe fn copy_from_q_string_ref( &self, other: impl CastInto<Ref<QStringRef>>, ) -> Ref<QStringRef>

Calls C++ function: QStringRef& QStringRef::operator=(const QStringRef& other).

Source

pub unsafe fn copy_from_q_string( &self, string: impl CastInto<Ptr<QString>>, ) -> Ref<QStringRef>

Calls C++ function: QStringRef& QStringRef::operator=(const QString* string).

Source

pub unsafe fn count(&self) -> c_int

Calls C++ function: int QStringRef::count() const.

Source

pub unsafe fn count_q_string_case_sensitivity( &self, s: impl CastInto<Ref<QString>>, cs: CaseSensitivity, ) -> c_int

Calls C++ function: int QStringRef::count(const QString& s, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn count_q_char_case_sensitivity( &self, c: impl CastInto<Ref<QChar>>, cs: CaseSensitivity, ) -> c_int

Calls C++ function: int QStringRef::count(QChar c, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn count_q_string_ref_case_sensitivity( &self, s: impl CastInto<Ref<QStringRef>>, cs: CaseSensitivity, ) -> c_int

Calls C++ function: int QStringRef::count(const QStringRef& s, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn count_q_string(&self, s: impl CastInto<Ref<QString>>) -> c_int

Calls C++ function: int QStringRef::count(const QString& s) const.

Source

pub unsafe fn count_q_char(&self, c: impl CastInto<Ref<QChar>>) -> c_int

Calls C++ function: int QStringRef::count(QChar c) const.

Source

pub unsafe fn count_q_string_ref( &self, s: impl CastInto<Ref<QStringRef>>, ) -> c_int

Calls C++ function: int QStringRef::count(const QStringRef& s) const.

Source

pub unsafe fn data(&self) -> Ptr<QChar>

Calls C++ function: const QChar* QStringRef::data() const.

Source

pub unsafe fn end(&self) -> Ptr<QChar>

Calls C++ function: const QChar* QStringRef::end() const.

Source

pub unsafe fn ends_with_q_string_view_case_sensitivity( &self, s: impl CastInto<Ref<QStringView>>, cs: CaseSensitivity, ) -> bool

Calls C++ function: bool QStringRef::endsWith(QStringView s, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn ends_with_q_latin1_string_case_sensitivity( &self, s: impl CastInto<Ref<QLatin1String>>, cs: CaseSensitivity, ) -> bool

Calls C++ function: bool QStringRef::endsWith(QLatin1String s, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn ends_with_q_char_case_sensitivity( &self, c: impl CastInto<Ref<QChar>>, cs: CaseSensitivity, ) -> bool

Calls C++ function: bool QStringRef::endsWith(QChar c, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn ends_with_q_string_case_sensitivity( &self, s: impl CastInto<Ref<QString>>, cs: CaseSensitivity, ) -> bool

Calls C++ function: bool QStringRef::endsWith(const QString& s, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn ends_with_q_string_ref_case_sensitivity( &self, c: impl CastInto<Ref<QStringRef>>, cs: CaseSensitivity, ) -> bool

Calls C++ function: bool QStringRef::endsWith(const QStringRef& c, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn ends_with_q_string_view( &self, s: impl CastInto<Ref<QStringView>>, ) -> bool

Calls C++ function: bool QStringRef::endsWith(QStringView s) const.

Source

pub unsafe fn ends_with_q_latin1_string( &self, s: impl CastInto<Ref<QLatin1String>>, ) -> bool

Calls C++ function: bool QStringRef::endsWith(QLatin1String s) const.

Source

pub unsafe fn ends_with_q_char(&self, c: impl CastInto<Ref<QChar>>) -> bool

Calls C++ function: bool QStringRef::endsWith(QChar c) const.

Source

pub unsafe fn ends_with_q_string(&self, s: impl CastInto<Ref<QString>>) -> bool

Calls C++ function: bool QStringRef::endsWith(const QString& s) const.

Source

pub unsafe fn ends_with_q_string_ref( &self, c: impl CastInto<Ref<QStringRef>>, ) -> bool

Calls C++ function: bool QStringRef::endsWith(const QStringRef& c) const.

Source

pub unsafe fn front(&self) -> CppBox<QChar>

Calls C++ function: QChar QStringRef::front() const.

Source

pub unsafe fn index(&self, i: c_int) -> CppBox<QChar>

Calls C++ function: QChar QStringRef::operator[](int i) const.

Source

pub unsafe fn index_of_q_string_int_case_sensitivity( &self, str: impl CastInto<Ref<QString>>, from: c_int, cs: CaseSensitivity, ) -> c_int

Calls C++ function: int QStringRef::indexOf(const QString& str, int from = …, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn index_of_q_string_ref_int_case_sensitivity( &self, str: impl CastInto<Ref<QStringRef>>, from: c_int, cs: CaseSensitivity, ) -> c_int

Calls C++ function: int QStringRef::indexOf(const QStringRef& str, int from = …, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn index_of_q_string_view_int_case_sensitivity( &self, s: impl CastInto<Ref<QStringView>>, from: c_int, cs: CaseSensitivity, ) -> c_int

Calls C++ function: int QStringRef::indexOf(QStringView s, int from = …, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn index_of_q_char_int_case_sensitivity( &self, ch: impl CastInto<Ref<QChar>>, from: c_int, cs: CaseSensitivity, ) -> c_int

Calls C++ function: int QStringRef::indexOf(QChar ch, int from = …, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn index_of_q_latin1_string_int_case_sensitivity( &self, str: impl CastInto<Ref<QLatin1String>>, from: c_int, cs: CaseSensitivity, ) -> c_int

Calls C++ function: int QStringRef::indexOf(QLatin1String str, int from = …, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn index_of_q_string_int( &self, str: impl CastInto<Ref<QString>>, from: c_int, ) -> c_int

Calls C++ function: int QStringRef::indexOf(const QString& str, int from = …) const.

Source

pub unsafe fn index_of_q_string( &self, str: impl CastInto<Ref<QString>>, ) -> c_int

Calls C++ function: int QStringRef::indexOf(const QString& str) const.

Source

pub unsafe fn index_of_q_string_ref_int( &self, str: impl CastInto<Ref<QStringRef>>, from: c_int, ) -> c_int

Calls C++ function: int QStringRef::indexOf(const QStringRef& str, int from = …) const.

Source

pub unsafe fn index_of_q_string_ref( &self, str: impl CastInto<Ref<QStringRef>>, ) -> c_int

Calls C++ function: int QStringRef::indexOf(const QStringRef& str) const.

Source

pub unsafe fn index_of_q_string_view_int( &self, s: impl CastInto<Ref<QStringView>>, from: c_int, ) -> c_int

Calls C++ function: int QStringRef::indexOf(QStringView s, int from = …) const.

Source

pub unsafe fn index_of_q_string_view( &self, s: impl CastInto<Ref<QStringView>>, ) -> c_int

Calls C++ function: int QStringRef::indexOf(QStringView s) const.

Source

pub unsafe fn index_of_q_char_int( &self, ch: impl CastInto<Ref<QChar>>, from: c_int, ) -> c_int

Calls C++ function: int QStringRef::indexOf(QChar ch, int from = …) const.

Source

pub unsafe fn index_of_q_char(&self, ch: impl CastInto<Ref<QChar>>) -> c_int

Calls C++ function: int QStringRef::indexOf(QChar ch) const.

Source

pub unsafe fn index_of_q_latin1_string_int( &self, str: impl CastInto<Ref<QLatin1String>>, from: c_int, ) -> c_int

Calls C++ function: int QStringRef::indexOf(QLatin1String str, int from = …) const.

Source

pub unsafe fn index_of_q_latin1_string( &self, str: impl CastInto<Ref<QLatin1String>>, ) -> c_int

Calls C++ function: int QStringRef::indexOf(QLatin1String str) const.

Source

pub unsafe fn is_empty(&self) -> bool

Calls C++ function: bool QStringRef::isEmpty() const.

Source

pub unsafe fn is_null(&self) -> bool

Calls C++ function: bool QStringRef::isNull() const.

Source

pub unsafe fn is_right_to_left(&self) -> bool

Calls C++ function: bool QStringRef::isRightToLeft() const.

Source

pub unsafe fn last_index_of_q_string_ref_int_case_sensitivity( &self, str: impl CastInto<Ref<QStringRef>>, from: c_int, cs: CaseSensitivity, ) -> c_int

Calls C++ function: int QStringRef::lastIndexOf(const QStringRef& str, int from = …, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn last_index_of_q_string_int_case_sensitivity( &self, str: impl CastInto<Ref<QString>>, from: c_int, cs: CaseSensitivity, ) -> c_int

Calls C++ function: int QStringRef::lastIndexOf(const QString& str, int from = …, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn last_index_of_q_char_int_case_sensitivity( &self, ch: impl CastInto<Ref<QChar>>, from: c_int, cs: CaseSensitivity, ) -> c_int

Calls C++ function: int QStringRef::lastIndexOf(QChar ch, int from = …, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn last_index_of_q_latin1_string_int_case_sensitivity( &self, str: impl CastInto<Ref<QLatin1String>>, from: c_int, cs: CaseSensitivity, ) -> c_int

Calls C++ function: int QStringRef::lastIndexOf(QLatin1String str, int from = …, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn last_index_of_q_string_view_int_case_sensitivity( &self, s: impl CastInto<Ref<QStringView>>, from: c_int, cs: CaseSensitivity, ) -> c_int

Calls C++ function: int QStringRef::lastIndexOf(QStringView s, int from = …, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn last_index_of_q_string_ref_int( &self, str: impl CastInto<Ref<QStringRef>>, from: c_int, ) -> c_int

Calls C++ function: int QStringRef::lastIndexOf(const QStringRef& str, int from = …) const.

Source

pub unsafe fn last_index_of_q_string_ref( &self, str: impl CastInto<Ref<QStringRef>>, ) -> c_int

Calls C++ function: int QStringRef::lastIndexOf(const QStringRef& str) const.

Source

pub unsafe fn last_index_of_q_string_int( &self, str: impl CastInto<Ref<QString>>, from: c_int, ) -> c_int

Calls C++ function: int QStringRef::lastIndexOf(const QString& str, int from = …) const.

Source

pub unsafe fn last_index_of_q_string( &self, str: impl CastInto<Ref<QString>>, ) -> c_int

Calls C++ function: int QStringRef::lastIndexOf(const QString& str) const.

Source

pub unsafe fn last_index_of_q_char_int( &self, ch: impl CastInto<Ref<QChar>>, from: c_int, ) -> c_int

Calls C++ function: int QStringRef::lastIndexOf(QChar ch, int from = …) const.

Source

pub unsafe fn last_index_of_q_char( &self, ch: impl CastInto<Ref<QChar>>, ) -> c_int

Calls C++ function: int QStringRef::lastIndexOf(QChar ch) const.

Source

pub unsafe fn last_index_of_q_latin1_string_int( &self, str: impl CastInto<Ref<QLatin1String>>, from: c_int, ) -> c_int

Calls C++ function: int QStringRef::lastIndexOf(QLatin1String str, int from = …) const.

Source

pub unsafe fn last_index_of_q_latin1_string( &self, str: impl CastInto<Ref<QLatin1String>>, ) -> c_int

Calls C++ function: int QStringRef::lastIndexOf(QLatin1String str) const.

Source

pub unsafe fn last_index_of_q_string_view_int( &self, s: impl CastInto<Ref<QStringView>>, from: c_int, ) -> c_int

Calls C++ function: int QStringRef::lastIndexOf(QStringView s, int from = …) const.

Source

pub unsafe fn last_index_of_q_string_view( &self, s: impl CastInto<Ref<QStringView>>, ) -> c_int

Calls C++ function: int QStringRef::lastIndexOf(QStringView s) const.

Source

pub unsafe fn left(&self, n: c_int) -> CppBox<QStringRef>

Calls C++ function: QStringRef QStringRef::left(int n) const.

Source

pub unsafe fn length(&self) -> c_int

Calls C++ function: int QStringRef::length() const.

Source

pub unsafe fn locale_aware_compare_q_string( &self, s: impl CastInto<Ref<QString>>, ) -> c_int

Calls C++ function: int QStringRef::localeAwareCompare(const QString& s) const.

Source

pub unsafe fn locale_aware_compare_q_string_ref( &self, s: impl CastInto<Ref<QStringRef>>, ) -> c_int

Calls C++ function: int QStringRef::localeAwareCompare(const QStringRef& s) const.

Source

pub unsafe fn locale_aware_compare_q_string_view( &self, str: impl CastInto<Ref<QStringView>>, ) -> c_int

Calls C++ function: int QStringRef::localeAwareCompare(QStringView str) const.

Source

pub unsafe fn locale_aware_compare_q_string_ref_q_string( s1: impl CastInto<Ref<QStringRef>>, s2: impl CastInto<Ref<QString>>, ) -> c_int

Calls C++ function: static int QStringRef::localeAwareCompare(const QStringRef& s1, const QString& s2).

Source

pub unsafe fn locale_aware_compare_2_q_string_ref( s1: impl CastInto<Ref<QStringRef>>, s2: impl CastInto<Ref<QStringRef>>, ) -> c_int

Calls C++ function: static int QStringRef::localeAwareCompare(const QStringRef& s1, const QStringRef& s2).

Source

pub unsafe fn locale_aware_compare_2_q_string_view( s1: impl CastInto<Ref<QStringView>>, s2: impl CastInto<Ref<QStringView>>, ) -> c_int

Calls C++ function: static int QStringRef::localeAwareCompare(QStringView s1, QStringView s2).

Source

pub unsafe fn mid_2a(&self, pos: c_int, n: c_int) -> CppBox<QStringRef>

Calls C++ function: QStringRef QStringRef::mid(int pos, int n = …) const.

Source

pub unsafe fn mid_1a(&self, pos: c_int) -> CppBox<QStringRef>

Calls C++ function: QStringRef QStringRef::mid(int pos) const.

Source

pub unsafe fn new_0a() -> CppBox<QStringRef>

Calls C++ function: [constructor] void QStringRef::QStringRef().

Source

pub unsafe fn new_3a( string: impl CastInto<Ptr<QString>>, position: c_int, size: c_int, ) -> CppBox<QStringRef>

Calls C++ function: [constructor] void QStringRef::QStringRef(const QString* string, int position, int size).

Source

pub unsafe fn new_1a(string: impl CastInto<Ptr<QString>>) -> CppBox<QStringRef>

Calls C++ function: [constructor] void QStringRef::QStringRef(const QString* string).

Source

pub unsafe fn new_copy( other: impl CastInto<Ref<QStringRef>>, ) -> CppBox<QStringRef>

Calls C++ function: [constructor] void QStringRef::QStringRef(const QStringRef& other).

Source

pub unsafe fn position(&self) -> c_int

Calls C++ function: int QStringRef::position() const.

Source

pub unsafe fn right(&self, n: c_int) -> CppBox<QStringRef>

Calls C++ function: QStringRef QStringRef::right(int n) const.

Source

pub unsafe fn size(&self) -> c_int

Calls C++ function: int QStringRef::size() const.

Source

pub unsafe fn split_q_string_split_behavior_case_sensitivity( &self, sep: impl CastInto<Ref<QString>>, behavior: SplitBehavior, cs: CaseSensitivity, ) -> CppBox<QVectorOfQStringRef>

Calls C++ function: QVector<QStringRef> QStringRef::split(const QString& sep, QString::SplitBehavior behavior, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn split_q_char_split_behavior_case_sensitivity( &self, sep: impl CastInto<Ref<QChar>>, behavior: SplitBehavior, cs: CaseSensitivity, ) -> CppBox<QVectorOfQStringRef>

Calls C++ function: QVector<QStringRef> QStringRef::split(QChar sep, QString::SplitBehavior behavior, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn split_q_string_q_flags_split_behavior_flags_case_sensitivity( &self, sep: impl CastInto<Ref<QString>>, behavior: QFlags<SplitBehaviorFlags>, cs: CaseSensitivity, ) -> CppBox<QVectorOfQStringRef>

Calls C++ function: QVector<QStringRef> QStringRef::split(const QString& sep, QFlags<Qt::SplitBehaviorFlags> behavior = …, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn split_q_char_q_flags_split_behavior_flags_case_sensitivity( &self, sep: impl CastInto<Ref<QChar>>, behavior: QFlags<SplitBehaviorFlags>, cs: CaseSensitivity, ) -> CppBox<QVectorOfQStringRef>

Calls C++ function: QVector<QStringRef> QStringRef::split(QChar sep, QFlags<Qt::SplitBehaviorFlags> behavior = …, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn split_q_string_split_behavior( &self, sep: impl CastInto<Ref<QString>>, behavior: SplitBehavior, ) -> CppBox<QVectorOfQStringRef>

Calls C++ function: QVector<QStringRef> QStringRef::split(const QString& sep, QString::SplitBehavior behavior) const.

Source

pub unsafe fn split_q_char_split_behavior( &self, sep: impl CastInto<Ref<QChar>>, behavior: SplitBehavior, ) -> CppBox<QVectorOfQStringRef>

Calls C++ function: QVector<QStringRef> QStringRef::split(QChar sep, QString::SplitBehavior behavior) const.

Source

pub unsafe fn split_q_string_q_flags_split_behavior_flags( &self, sep: impl CastInto<Ref<QString>>, behavior: QFlags<SplitBehaviorFlags>, ) -> CppBox<QVectorOfQStringRef>

Calls C++ function: QVector<QStringRef> QStringRef::split(const QString& sep, QFlags<Qt::SplitBehaviorFlags> behavior = …) const.

Source

pub unsafe fn split_q_string( &self, sep: impl CastInto<Ref<QString>>, ) -> CppBox<QVectorOfQStringRef>

Calls C++ function: QVector<QStringRef> QStringRef::split(const QString& sep) const.

Source

pub unsafe fn split_q_char_q_flags_split_behavior_flags( &self, sep: impl CastInto<Ref<QChar>>, behavior: QFlags<SplitBehaviorFlags>, ) -> CppBox<QVectorOfQStringRef>

Calls C++ function: QVector<QStringRef> QStringRef::split(QChar sep, QFlags<Qt::SplitBehaviorFlags> behavior = …) const.

Source

pub unsafe fn split_q_char( &self, sep: impl CastInto<Ref<QChar>>, ) -> CppBox<QVectorOfQStringRef>

Calls C++ function: QVector<QStringRef> QStringRef::split(QChar sep) const.

Source

pub unsafe fn starts_with_q_string_view_case_sensitivity( &self, s: impl CastInto<Ref<QStringView>>, cs: CaseSensitivity, ) -> bool

Calls C++ function: bool QStringRef::startsWith(QStringView s, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn starts_with_q_latin1_string_case_sensitivity( &self, s: impl CastInto<Ref<QLatin1String>>, cs: CaseSensitivity, ) -> bool

Calls C++ function: bool QStringRef::startsWith(QLatin1String s, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn starts_with_q_char_case_sensitivity( &self, c: impl CastInto<Ref<QChar>>, cs: CaseSensitivity, ) -> bool

Calls C++ function: bool QStringRef::startsWith(QChar c, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn starts_with_q_string_case_sensitivity( &self, s: impl CastInto<Ref<QString>>, cs: CaseSensitivity, ) -> bool

Calls C++ function: bool QStringRef::startsWith(const QString& s, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn starts_with_q_string_ref_case_sensitivity( &self, c: impl CastInto<Ref<QStringRef>>, cs: CaseSensitivity, ) -> bool

Calls C++ function: bool QStringRef::startsWith(const QStringRef& c, Qt::CaseSensitivity cs = …) const.

Source

pub unsafe fn starts_with_q_string_view( &self, s: impl CastInto<Ref<QStringView>>, ) -> bool

Calls C++ function: bool QStringRef::startsWith(QStringView s) const.

Source

pub unsafe fn starts_with_q_latin1_string( &self, s: impl CastInto<Ref<QLatin1String>>, ) -> bool

Calls C++ function: bool QStringRef::startsWith(QLatin1String s) const.

Source

pub unsafe fn starts_with_q_char(&self, c: impl CastInto<Ref<QChar>>) -> bool

Calls C++ function: bool QStringRef::startsWith(QChar c) const.

Source

pub unsafe fn starts_with_q_string( &self, s: impl CastInto<Ref<QString>>, ) -> bool

Calls C++ function: bool QStringRef::startsWith(const QString& s) const.

Source

pub unsafe fn starts_with_q_string_ref( &self, c: impl CastInto<Ref<QStringRef>>, ) -> bool

Calls C++ function: bool QStringRef::startsWith(const QStringRef& c) const.

Source

pub unsafe fn string(&self) -> Ptr<QString>

Calls C++ function: const QString* QStringRef::string() const.

Source

pub unsafe fn to_double_1a(&self, ok: *mut bool) -> c_double

Calls C++ function: double QStringRef::toDouble(bool* ok = …) const.

Source

pub unsafe fn to_double_0a(&self) -> c_double

Calls C++ function: double QStringRef::toDouble() const.

Source

pub unsafe fn to_float_1a(&self, ok: *mut bool) -> c_float

Calls C++ function: float QStringRef::toFloat(bool* ok = …) const.

Source

pub unsafe fn to_float_0a(&self) -> c_float

Calls C++ function: float QStringRef::toFloat() const.

Source

pub unsafe fn to_int_2a(&self, ok: *mut bool, base: c_int) -> c_int

Calls C++ function: int QStringRef::toInt(bool* ok = …, int base = …) const.

Source

pub unsafe fn to_int_1a(&self, ok: *mut bool) -> c_int

Calls C++ function: int QStringRef::toInt(bool* ok = …) const.

Source

pub unsafe fn to_int_0a(&self) -> c_int

Calls C++ function: int QStringRef::toInt() const.

Source

pub unsafe fn to_latin1(&self) -> CppBox<QByteArray>

Calls C++ function: QByteArray QStringRef::toLatin1() const.

Source

pub unsafe fn to_local8_bit(&self) -> CppBox<QByteArray>

Calls C++ function: QByteArray QStringRef::toLocal8Bit() const.

Source

pub unsafe fn to_long_2a(&self, ok: *mut bool, base: c_int) -> c_long

Calls C++ function: long QStringRef::toLong(bool* ok = …, int base = …) const.

Source

pub unsafe fn to_long_1a(&self, ok: *mut bool) -> c_long

Calls C++ function: long QStringRef::toLong(bool* ok = …) const.

Source

pub unsafe fn to_long_0a(&self) -> c_long

Calls C++ function: long QStringRef::toLong() const.

Source

pub unsafe fn to_long_long_2a(&self, ok: *mut bool, base: c_int) -> c_longlong

Calls C++ function: long long QStringRef::toLongLong(bool* ok = …, int base = …) const.

Source

pub unsafe fn to_long_long_1a(&self, ok: *mut bool) -> c_longlong

Calls C++ function: long long QStringRef::toLongLong(bool* ok = …) const.

Source

pub unsafe fn to_long_long_0a(&self) -> c_longlong

Calls C++ function: long long QStringRef::toLongLong() const.

Source

pub unsafe fn to_short_2a(&self, ok: *mut bool, base: c_int) -> c_short

Calls C++ function: short QStringRef::toShort(bool* ok = …, int base = …) const.

Source

pub unsafe fn to_short_1a(&self, ok: *mut bool) -> c_short

Calls C++ function: short QStringRef::toShort(bool* ok = …) const.

Source

pub unsafe fn to_short_0a(&self) -> c_short

Calls C++ function: short QStringRef::toShort() const.

Source

pub unsafe fn to_string(&self) -> CppBox<QString>

Calls C++ function: QString QStringRef::toString() const.

Source

pub unsafe fn to_u_int_2a(&self, ok: *mut bool, base: c_int) -> c_uint

Calls C++ function: unsigned int QStringRef::toUInt(bool* ok = …, int base = …) const.

Source

pub unsafe fn to_u_int_1a(&self, ok: *mut bool) -> c_uint

Calls C++ function: unsigned int QStringRef::toUInt(bool* ok = …) const.

Source

pub unsafe fn to_u_int_0a(&self) -> c_uint

Calls C++ function: unsigned int QStringRef::toUInt() const.

Source

pub unsafe fn to_u_long_2a(&self, ok: *mut bool, base: c_int) -> c_ulong

Calls C++ function: unsigned long QStringRef::toULong(bool* ok = …, int base = …) const.

Source

pub unsafe fn to_u_long_1a(&self, ok: *mut bool) -> c_ulong

Calls C++ function: unsigned long QStringRef::toULong(bool* ok = …) const.

Source

pub unsafe fn to_u_long_0a(&self) -> c_ulong

Calls C++ function: unsigned long QStringRef::toULong() const.

Source

pub unsafe fn to_u_long_long_2a( &self, ok: *mut bool, base: c_int, ) -> c_ulonglong

Calls C++ function: unsigned long long QStringRef::toULongLong(bool* ok = …, int base = …) const.

Source

pub unsafe fn to_u_long_long_1a(&self, ok: *mut bool) -> c_ulonglong

Calls C++ function: unsigned long long QStringRef::toULongLong(bool* ok = …) const.

Source

pub unsafe fn to_u_long_long_0a(&self) -> c_ulonglong

Calls C++ function: unsigned long long QStringRef::toULongLong() const.

Source

pub unsafe fn to_u_short_2a(&self, ok: *mut bool, base: c_int) -> c_ushort

Calls C++ function: unsigned short QStringRef::toUShort(bool* ok = …, int base = …) const.

Source

pub unsafe fn to_u_short_1a(&self, ok: *mut bool) -> c_ushort

Calls C++ function: unsigned short QStringRef::toUShort(bool* ok = …) const.

Source

pub unsafe fn to_u_short_0a(&self) -> c_ushort

Calls C++ function: unsigned short QStringRef::toUShort() const.

Source

pub unsafe fn to_ucs4(&self) -> CppBox<QVectorOfUint>

Calls C++ function: QVector<unsigned int> QStringRef::toUcs4() const.

Source

pub unsafe fn to_utf8(&self) -> CppBox<QByteArray>

Calls C++ function: QByteArray QStringRef::toUtf8() const.

Source

pub unsafe fn trimmed(&self) -> CppBox<QStringRef>

Calls C++ function: QStringRef QStringRef::trimmed() const.

Source

pub unsafe fn truncate(&self, pos: c_int)

Calls C++ function: void QStringRef::truncate(int pos).

Source

pub unsafe fn unicode(&self) -> Ptr<QChar>

Calls C++ function: const QChar* QStringRef::unicode() const.

Trait Implementations§

Source§

impl Add<Ref<QChar>> for &QStringRef

Source§

fn add(self, s2: Ref<QChar>) -> CppBox<QString>

Calls C++ function: QString operator+(const QStringRef& s1, QChar s2).

Source§

type Output = CppBox<QString>

The resulting type after applying the + operator.
Source§

impl Add<Ref<QLatin1String>> for &QStringRef

Source§

fn add(self, s2: Ref<QLatin1String>) -> CppBox<QString>

Calls C++ function: QString operator+(const QStringRef& s1, QLatin1String s2).

Source§

type Output = CppBox<QString>

The resulting type after applying the + operator.
Source§

impl Add<Ref<QString>> for &QStringRef

Source§

fn add(self, s2: Ref<QString>) -> CppBox<QString>

Calls C++ function: QString operator+(const QStringRef& s1, const QString& s2).

Source§

type Output = CppBox<QString>

The resulting type after applying the + operator.
Source§

impl Add<Ref<QStringRef>> for &QStringRef

Source§

fn add(self, s2: Ref<QStringRef>) -> CppBox<QString>

Calls C++ function: QString operator+(const QStringRef& s1, const QStringRef& s2).

Source§

type Output = CppBox<QString>

The resulting type after applying the + operator.
Source§

impl Begin for QStringRef

Source§

unsafe fn begin(&self) -> Ptr<QChar>

Calls C++ function: const QChar* QStringRef::begin() const.

Source§

type Output = Ptr<QChar>

Output type.
Source§

impl CppDeletable for QStringRef

Source§

unsafe fn delete(&self)

Calls C++ function: [destructor] void QStringRef::~QStringRef().

Source§

impl Data for QStringRef

Source§

unsafe fn data(&self) -> Ptr<QChar>

Calls C++ function: const QChar* QStringRef::data() const.

Source§

type Output = Ptr<QChar>

Return type of data() function.
Source§

impl End for QStringRef

Source§

unsafe fn end(&self) -> Ptr<QChar>

Calls C++ function: const QChar* QStringRef::end() const.

Source§

type Output = Ptr<QChar>

Output type.
Source§

impl Ge<*const i8> for QStringRef

Source§

unsafe fn ge(&self, s: &*const c_char) -> bool

Calls C++ function: bool QStringRef::operator>=(const char* s) const.

Source§

impl Ge<Ref<QByteArray>> for QStringRef

Source§

unsafe fn ge(&self, rhs: &Ref<QByteArray>) -> bool

Calls C++ function: bool operator>=(const QStringRef& lhs, const QByteArray& rhs).

Source§

impl Ge<Ref<QChar>> for QStringRef

Source§

unsafe fn ge(&self, rhs: &Ref<QChar>) -> bool

Calls C++ function: bool operator>=(const QStringRef& lhs, QChar rhs).

Source§

impl Ge<Ref<QLatin1String>> for QStringRef

Source§

unsafe fn ge(&self, rhs: &Ref<QLatin1String>) -> bool

Calls C++ function: bool operator>=(const QStringRef& lhs, QLatin1String rhs).

Source§

impl Ge<Ref<QString>> for QStringRef

Source§

unsafe fn ge(&self, rhs: &Ref<QString>) -> bool

Calls C++ function: bool operator>=(const QStringRef& lhs, const QString& rhs).

Source§

impl Ge<Ref<QStringRef>> for QStringRef

Source§

unsafe fn ge(&self, s2: &Ref<QStringRef>) -> bool

Calls C++ function: bool operator>=(const QStringRef& s1, const QStringRef& s2).

Source§

impl Gt<*const i8> for QStringRef

Source§

unsafe fn gt(&self, s: &*const c_char) -> bool

Calls C++ function: bool QStringRef::operator>(const char* s) const.

Source§

impl Gt<Ref<QByteArray>> for QStringRef

Source§

unsafe fn gt(&self, rhs: &Ref<QByteArray>) -> bool

Calls C++ function: bool operator>(const QStringRef& lhs, const QByteArray& rhs).

Source§

impl Gt<Ref<QChar>> for QStringRef

Source§

unsafe fn gt(&self, rhs: &Ref<QChar>) -> bool

Calls C++ function: bool operator>(const QStringRef& lhs, QChar rhs).

Source§

impl Gt<Ref<QLatin1String>> for QStringRef

Source§

unsafe fn gt(&self, rhs: &Ref<QLatin1String>) -> bool

Calls C++ function: bool operator>(const QStringRef& lhs, QLatin1String rhs).

Source§

impl Gt<Ref<QString>> for QStringRef

Source§

unsafe fn gt(&self, rhs: &Ref<QString>) -> bool

Calls C++ function: bool operator>(const QStringRef& lhs, const QString& rhs).

Source§

impl Gt<Ref<QStringRef>> for QStringRef

Source§

unsafe fn gt(&self, s2: &Ref<QStringRef>) -> bool

Calls C++ function: bool operator>(const QStringRef& s1, const QStringRef& s2).

Source§

impl Le<*const i8> for QStringRef

Source§

unsafe fn le(&self, s: &*const c_char) -> bool

Calls C++ function: bool QStringRef::operator<=(const char* s) const.

Source§

impl Le<Ref<QByteArray>> for QStringRef

Source§

unsafe fn le(&self, rhs: &Ref<QByteArray>) -> bool

Calls C++ function: bool operator<=(const QStringRef& lhs, const QByteArray& rhs).

Source§

impl Le<Ref<QChar>> for QStringRef

Source§

unsafe fn le(&self, rhs: &Ref<QChar>) -> bool

Calls C++ function: bool operator<=(const QStringRef& lhs, QChar rhs).

Source§

impl Le<Ref<QLatin1String>> for QStringRef

Source§

unsafe fn le(&self, rhs: &Ref<QLatin1String>) -> bool

Calls C++ function: bool operator<=(const QStringRef& lhs, QLatin1String rhs).

Source§

impl Le<Ref<QString>> for QStringRef

Source§

unsafe fn le(&self, rhs: &Ref<QString>) -> bool

Calls C++ function: bool operator<=(const QStringRef& lhs, const QString& rhs).

Source§

impl Le<Ref<QStringRef>> for QStringRef

Source§

unsafe fn le(&self, s2: &Ref<QStringRef>) -> bool

Calls C++ function: bool operator<=(const QStringRef& s1, const QStringRef& s2).

Source§

impl Lt<*const i8> for QStringRef

Source§

unsafe fn lt(&self, s: &*const c_char) -> bool

Calls C++ function: bool QStringRef::operator<(const char* s) const.

Source§

impl Lt<Ref<QByteArray>> for QStringRef

Source§

unsafe fn lt(&self, rhs: &Ref<QByteArray>) -> bool

Calls C++ function: bool operator<(const QStringRef& lhs, const QByteArray& rhs).

Source§

impl Lt<Ref<QChar>> for QStringRef

Source§

unsafe fn lt(&self, rhs: &Ref<QChar>) -> bool

Calls C++ function: bool operator<(const QStringRef& lhs, QChar rhs).

Source§

impl Lt<Ref<QLatin1String>> for QStringRef

Source§

unsafe fn lt(&self, rhs: &Ref<QLatin1String>) -> bool

Calls C++ function: bool operator<(const QStringRef& lhs, QLatin1String rhs).

Source§

impl Lt<Ref<QString>> for QStringRef

Source§

unsafe fn lt(&self, rhs: &Ref<QString>) -> bool

Calls C++ function: bool operator<(const QStringRef& lhs, const QString& rhs).

Source§

impl Lt<Ref<QStringRef>> for QStringRef

Source§

unsafe fn lt(&self, s2: &Ref<QStringRef>) -> bool

Calls C++ function: bool operator<(const QStringRef& s1, const QStringRef& s2).

Source§

impl PartialEq<*const i8> for QStringRef

Source§

fn eq(&self, s: &*const c_char) -> bool

Calls C++ function: bool QStringRef::operator==(const char* s) const.

1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Ref<QByteArray>> for QStringRef

Source§

fn eq(&self, rhs: &Ref<QByteArray>) -> bool

Calls C++ function: bool operator==(const QStringRef& lhs, const QByteArray& rhs).

1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Ref<QChar>> for QStringRef

Source§

fn eq(&self, rhs: &Ref<QChar>) -> bool

Calls C++ function: bool operator==(const QStringRef& lhs, QChar rhs).

1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Ref<QLatin1String>> for QStringRef

Source§

fn eq(&self, rhs: &Ref<QLatin1String>) -> bool

Calls C++ function: bool operator==(const QStringRef& lhs, QLatin1String rhs).

1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Ref<QString>> for QStringRef

Source§

fn eq(&self, rhs: &Ref<QString>) -> bool

Calls C++ function: bool operator==(const QStringRef& lhs, const QString& rhs).

1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Ref<QStringRef>> for QStringRef

Source§

fn eq(&self, s2: &Ref<QStringRef>) -> bool

Calls C++ function: bool operator==(const QStringRef& s1, const QStringRef& s2).

1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Size for QStringRef

Source§

unsafe fn size(&self) -> usize

Calls C++ function: int QStringRef::size() const.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T, U> CastInto<U> for T
where U: CastFrom<T>,

Source§

unsafe fn cast_into(self) -> U

Performs the conversion. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> StaticUpcast<T> for T

Source§

unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>

Convert type of a const pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.