pub struct QStringView { /* private fields */ }Expand description
C++ class: QStringView.
Implementations§
Source§impl QStringView
impl QStringView
Sourcepub unsafe fn at(&self, n: c_longlong) -> CppBox<QChar>
pub unsafe fn at(&self, n: c_longlong) -> CppBox<QChar>
Calls C++ function: QChar QStringView::at(long long n) const.
Sourcepub unsafe fn back(&self) -> CppBox<QChar>
pub unsafe fn back(&self) -> CppBox<QChar>
Calls C++ function: QChar QStringView::back() const.
Sourcepub unsafe fn begin(&self) -> Ptr<QChar>
pub unsafe fn begin(&self) -> Ptr<QChar>
Calls C++ function: const QChar* QStringView::begin() const.
Sourcepub unsafe fn cbegin(&self) -> Ptr<QChar>
pub unsafe fn cbegin(&self) -> Ptr<QChar>
Calls C++ function: const QChar* QStringView::cbegin() const.
Sourcepub unsafe fn cend(&self) -> Ptr<QChar>
pub unsafe fn cend(&self) -> Ptr<QChar>
Calls C++ function: const QChar* QStringView::cend() const.
Sourcepub unsafe fn chop(&self, n: c_longlong)
pub unsafe fn chop(&self, n: c_longlong)
Calls C++ function: void QStringView::chop(long long n).
Sourcepub unsafe fn chopped(&self, n: c_longlong) -> CppBox<QStringView>
pub unsafe fn chopped(&self, n: c_longlong) -> CppBox<QStringView>
Calls C++ function: QStringView QStringView::chopped(long long n) const.
Sourcepub unsafe fn compare_q_string_view_case_sensitivity(
&self,
other: impl CastInto<Ref<QStringView>>,
cs: CaseSensitivity,
) -> c_int
pub unsafe fn compare_q_string_view_case_sensitivity( &self, other: impl CastInto<Ref<QStringView>>, cs: CaseSensitivity, ) -> c_int
Calls C++ function: int QStringView::compare(QStringView other, Qt::CaseSensitivity cs = …) const.
Sourcepub unsafe fn compare_q_latin1_string_case_sensitivity(
&self,
other: impl CastInto<Ref<QLatin1String>>,
cs: CaseSensitivity,
) -> c_int
pub unsafe fn compare_q_latin1_string_case_sensitivity( &self, other: impl CastInto<Ref<QLatin1String>>, cs: CaseSensitivity, ) -> c_int
Calls C++ function: int QStringView::compare(QLatin1String other, Qt::CaseSensitivity cs = …) const.
Sourcepub unsafe fn compare_q_char(&self, c: impl CastInto<Ref<QChar>>) -> c_int
pub unsafe fn compare_q_char(&self, c: impl CastInto<Ref<QChar>>) -> c_int
Calls C++ function: int QStringView::compare(QChar c) const.
Sourcepub unsafe fn compare_q_char_case_sensitivity(
&self,
c: impl CastInto<Ref<QChar>>,
cs: CaseSensitivity,
) -> c_int
pub unsafe fn compare_q_char_case_sensitivity( &self, c: impl CastInto<Ref<QChar>>, cs: CaseSensitivity, ) -> c_int
Calls C++ function: int QStringView::compare(QChar c, Qt::CaseSensitivity cs) const.
Sourcepub unsafe fn compare_q_string_view(
&self,
other: impl CastInto<Ref<QStringView>>,
) -> c_int
pub unsafe fn compare_q_string_view( &self, other: impl CastInto<Ref<QStringView>>, ) -> c_int
Calls C++ function: int QStringView::compare(QStringView other) const.
Sourcepub unsafe fn compare_q_latin1_string(
&self,
other: impl CastInto<Ref<QLatin1String>>,
) -> c_int
pub unsafe fn compare_q_latin1_string( &self, other: impl CastInto<Ref<QLatin1String>>, ) -> c_int
Calls C++ function: int QStringView::compare(QLatin1String other) const.
Sourcepub unsafe fn contains_q_char_case_sensitivity(
&self,
c: impl CastInto<Ref<QChar>>,
cs: CaseSensitivity,
) -> bool
pub unsafe fn contains_q_char_case_sensitivity( &self, c: impl CastInto<Ref<QChar>>, cs: CaseSensitivity, ) -> bool
Calls C++ function: bool QStringView::contains(QChar c, Qt::CaseSensitivity cs = …) const.
Sourcepub unsafe fn contains_q_string_view_case_sensitivity(
&self,
s: impl CastInto<Ref<QStringView>>,
cs: CaseSensitivity,
) -> bool
pub unsafe fn contains_q_string_view_case_sensitivity( &self, s: impl CastInto<Ref<QStringView>>, cs: CaseSensitivity, ) -> bool
Calls C++ function: bool QStringView::contains(QStringView s, Qt::CaseSensitivity cs = …) const.
Sourcepub unsafe fn contains_q_latin1_string_case_sensitivity(
&self,
s: impl CastInto<Ref<QLatin1String>>,
cs: CaseSensitivity,
) -> bool
pub unsafe fn contains_q_latin1_string_case_sensitivity( &self, s: impl CastInto<Ref<QLatin1String>>, cs: CaseSensitivity, ) -> bool
Calls C++ function: bool QStringView::contains(QLatin1String s, Qt::CaseSensitivity cs = …) const.
Sourcepub unsafe fn contains_q_char(&self, c: impl CastInto<Ref<QChar>>) -> bool
pub unsafe fn contains_q_char(&self, c: impl CastInto<Ref<QChar>>) -> bool
Calls C++ function: bool QStringView::contains(QChar c) const.
Sourcepub unsafe fn contains_q_string_view(
&self,
s: impl CastInto<Ref<QStringView>>,
) -> bool
pub unsafe fn contains_q_string_view( &self, s: impl CastInto<Ref<QStringView>>, ) -> bool
Calls C++ function: bool QStringView::contains(QStringView s) const.
Sourcepub unsafe fn contains_q_latin1_string(
&self,
s: impl CastInto<Ref<QLatin1String>>,
) -> bool
pub unsafe fn contains_q_latin1_string( &self, s: impl CastInto<Ref<QLatin1String>>, ) -> bool
Calls C++ function: bool QStringView::contains(QLatin1String s) const.
Sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QStringView>>,
) -> Ref<QStringView>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QStringView>>, ) -> Ref<QStringView>
Calls C++ function: QStringView& QStringView::operator=(const QStringView& other).
Sourcepub unsafe fn count_q_char_case_sensitivity(
&self,
c: impl CastInto<Ref<QChar>>,
cs: CaseSensitivity,
) -> c_longlong
pub unsafe fn count_q_char_case_sensitivity( &self, c: impl CastInto<Ref<QChar>>, cs: CaseSensitivity, ) -> c_longlong
Calls C++ function: long long QStringView::count(QChar c, Qt::CaseSensitivity cs = …) const.
Sourcepub unsafe fn count_q_string_view_case_sensitivity(
&self,
s: impl CastInto<Ref<QStringView>>,
cs: CaseSensitivity,
) -> c_longlong
pub unsafe fn count_q_string_view_case_sensitivity( &self, s: impl CastInto<Ref<QStringView>>, cs: CaseSensitivity, ) -> c_longlong
Calls C++ function: long long QStringView::count(QStringView s, Qt::CaseSensitivity cs = …) const.
Sourcepub unsafe fn count_q_char(&self, c: impl CastInto<Ref<QChar>>) -> c_longlong
pub unsafe fn count_q_char(&self, c: impl CastInto<Ref<QChar>>) -> c_longlong
Calls C++ function: long long QStringView::count(QChar c) const.
Sourcepub unsafe fn count_q_string_view(
&self,
s: impl CastInto<Ref<QStringView>>,
) -> c_longlong
pub unsafe fn count_q_string_view( &self, s: impl CastInto<Ref<QStringView>>, ) -> c_longlong
Calls C++ function: long long QStringView::count(QStringView s) const.
Sourcepub unsafe fn data(&self) -> Ptr<QChar>
pub unsafe fn data(&self) -> Ptr<QChar>
Calls C++ function: const QChar* QStringView::data() const.
Sourcepub unsafe fn end(&self) -> Ptr<QChar>
pub unsafe fn end(&self) -> Ptr<QChar>
Calls C++ function: const QChar* QStringView::end() const.
Sourcepub unsafe fn ends_with_q_string_view_case_sensitivity(
&self,
s: impl CastInto<Ref<QStringView>>,
cs: CaseSensitivity,
) -> bool
pub unsafe fn ends_with_q_string_view_case_sensitivity( &self, s: impl CastInto<Ref<QStringView>>, cs: CaseSensitivity, ) -> bool
Calls C++ function: bool QStringView::endsWith(QStringView s, Qt::CaseSensitivity cs = …) const.
Sourcepub unsafe fn ends_with_q_latin1_string_case_sensitivity(
&self,
s: impl CastInto<Ref<QLatin1String>>,
cs: CaseSensitivity,
) -> bool
pub unsafe fn ends_with_q_latin1_string_case_sensitivity( &self, s: impl CastInto<Ref<QLatin1String>>, cs: CaseSensitivity, ) -> bool
Calls C++ function: bool QStringView::endsWith(QLatin1String s, Qt::CaseSensitivity cs = …) const.
Sourcepub unsafe fn ends_with_q_char(&self, c: impl CastInto<Ref<QChar>>) -> bool
pub unsafe fn ends_with_q_char(&self, c: impl CastInto<Ref<QChar>>) -> bool
Calls C++ function: bool QStringView::endsWith(QChar c) const.
Sourcepub unsafe fn ends_with_q_char_case_sensitivity(
&self,
c: impl CastInto<Ref<QChar>>,
cs: CaseSensitivity,
) -> bool
pub unsafe fn ends_with_q_char_case_sensitivity( &self, c: impl CastInto<Ref<QChar>>, cs: CaseSensitivity, ) -> bool
Calls C++ function: bool QStringView::endsWith(QChar c, Qt::CaseSensitivity cs) const.
Sourcepub unsafe fn ends_with_q_string_view(
&self,
s: impl CastInto<Ref<QStringView>>,
) -> bool
pub unsafe fn ends_with_q_string_view( &self, s: impl CastInto<Ref<QStringView>>, ) -> bool
Calls C++ function: bool QStringView::endsWith(QStringView s) const.
Sourcepub unsafe fn ends_with_q_latin1_string(
&self,
s: impl CastInto<Ref<QLatin1String>>,
) -> bool
pub unsafe fn ends_with_q_latin1_string( &self, s: impl CastInto<Ref<QLatin1String>>, ) -> bool
Calls C++ function: bool QStringView::endsWith(QLatin1String s) const.
Sourcepub unsafe fn first(&self) -> CppBox<QChar>
pub unsafe fn first(&self) -> CppBox<QChar>
Calls C++ function: QChar QStringView::first() const.
Sourcepub unsafe fn front(&self) -> CppBox<QChar>
pub unsafe fn front(&self) -> CppBox<QChar>
Calls C++ function: QChar QStringView::front() const.
Sourcepub unsafe fn index(&self, n: c_longlong) -> CppBox<QChar>
pub unsafe fn index(&self, n: c_longlong) -> CppBox<QChar>
Calls C++ function: QChar QStringView::operator[](long long n) const.
Sourcepub unsafe fn index_of_q_char_longlong_case_sensitivity(
&self,
c: impl CastInto<Ref<QChar>>,
from: c_longlong,
cs: CaseSensitivity,
) -> c_longlong
pub unsafe fn index_of_q_char_longlong_case_sensitivity( &self, c: impl CastInto<Ref<QChar>>, from: c_longlong, cs: CaseSensitivity, ) -> c_longlong
Calls C++ function: long long QStringView::indexOf(QChar c, long long from = …, Qt::CaseSensitivity cs = …) const.
Sourcepub unsafe fn index_of_q_string_view_longlong_case_sensitivity(
&self,
s: impl CastInto<Ref<QStringView>>,
from: c_longlong,
cs: CaseSensitivity,
) -> c_longlong
pub unsafe fn index_of_q_string_view_longlong_case_sensitivity( &self, s: impl CastInto<Ref<QStringView>>, from: c_longlong, cs: CaseSensitivity, ) -> c_longlong
Calls C++ function: long long QStringView::indexOf(QStringView s, long long from = …, Qt::CaseSensitivity cs = …) const.
Sourcepub unsafe fn index_of_q_latin1_string_longlong_case_sensitivity(
&self,
s: impl CastInto<Ref<QLatin1String>>,
from: c_longlong,
cs: CaseSensitivity,
) -> c_longlong
pub unsafe fn index_of_q_latin1_string_longlong_case_sensitivity( &self, s: impl CastInto<Ref<QLatin1String>>, from: c_longlong, cs: CaseSensitivity, ) -> c_longlong
Calls C++ function: long long QStringView::indexOf(QLatin1String s, long long from = …, Qt::CaseSensitivity cs = …) const.
Sourcepub unsafe fn index_of_q_char_longlong(
&self,
c: impl CastInto<Ref<QChar>>,
from: c_longlong,
) -> c_longlong
pub unsafe fn index_of_q_char_longlong( &self, c: impl CastInto<Ref<QChar>>, from: c_longlong, ) -> c_longlong
Calls C++ function: long long QStringView::indexOf(QChar c, long long from = …) const.
Sourcepub unsafe fn index_of_q_char(&self, c: impl CastInto<Ref<QChar>>) -> c_longlong
pub unsafe fn index_of_q_char(&self, c: impl CastInto<Ref<QChar>>) -> c_longlong
Calls C++ function: long long QStringView::indexOf(QChar c) const.
Sourcepub unsafe fn index_of_q_string_view_longlong(
&self,
s: impl CastInto<Ref<QStringView>>,
from: c_longlong,
) -> c_longlong
pub unsafe fn index_of_q_string_view_longlong( &self, s: impl CastInto<Ref<QStringView>>, from: c_longlong, ) -> c_longlong
Calls C++ function: long long QStringView::indexOf(QStringView s, long long from = …) const.
Sourcepub unsafe fn index_of_q_string_view(
&self,
s: impl CastInto<Ref<QStringView>>,
) -> c_longlong
pub unsafe fn index_of_q_string_view( &self, s: impl CastInto<Ref<QStringView>>, ) -> c_longlong
Calls C++ function: long long QStringView::indexOf(QStringView s) const.
Sourcepub unsafe fn index_of_q_latin1_string_longlong(
&self,
s: impl CastInto<Ref<QLatin1String>>,
from: c_longlong,
) -> c_longlong
pub unsafe fn index_of_q_latin1_string_longlong( &self, s: impl CastInto<Ref<QLatin1String>>, from: c_longlong, ) -> c_longlong
Calls C++ function: long long QStringView::indexOf(QLatin1String s, long long from = …) const.
Sourcepub unsafe fn index_of_q_latin1_string(
&self,
s: impl CastInto<Ref<QLatin1String>>,
) -> c_longlong
pub unsafe fn index_of_q_latin1_string( &self, s: impl CastInto<Ref<QLatin1String>>, ) -> c_longlong
Calls C++ function: long long QStringView::indexOf(QLatin1String s) const.
Sourcepub unsafe fn is_right_to_left(&self) -> bool
pub unsafe fn is_right_to_left(&self) -> bool
Calls C++ function: bool QStringView::isRightToLeft() const.
Sourcepub unsafe fn is_valid_utf16(&self) -> bool
pub unsafe fn is_valid_utf16(&self) -> bool
Calls C++ function: bool QStringView::isValidUtf16() const.
Sourcepub unsafe fn last(&self) -> CppBox<QChar>
pub unsafe fn last(&self) -> CppBox<QChar>
Calls C++ function: QChar QStringView::last() const.
Sourcepub unsafe fn last_index_of_q_char_longlong_case_sensitivity(
&self,
c: impl CastInto<Ref<QChar>>,
from: c_longlong,
cs: CaseSensitivity,
) -> c_longlong
pub unsafe fn last_index_of_q_char_longlong_case_sensitivity( &self, c: impl CastInto<Ref<QChar>>, from: c_longlong, cs: CaseSensitivity, ) -> c_longlong
Calls C++ function: long long QStringView::lastIndexOf(QChar c, long long from = …, Qt::CaseSensitivity cs = …) const.
Sourcepub unsafe fn last_index_of_q_string_view_longlong_case_sensitivity(
&self,
s: impl CastInto<Ref<QStringView>>,
from: c_longlong,
cs: CaseSensitivity,
) -> c_longlong
pub unsafe fn last_index_of_q_string_view_longlong_case_sensitivity( &self, s: impl CastInto<Ref<QStringView>>, from: c_longlong, cs: CaseSensitivity, ) -> c_longlong
Calls C++ function: long long QStringView::lastIndexOf(QStringView s, long long from = …, Qt::CaseSensitivity cs = …) const.
Sourcepub unsafe fn last_index_of_q_latin1_string_longlong_case_sensitivity(
&self,
s: impl CastInto<Ref<QLatin1String>>,
from: c_longlong,
cs: CaseSensitivity,
) -> c_longlong
pub unsafe fn last_index_of_q_latin1_string_longlong_case_sensitivity( &self, s: impl CastInto<Ref<QLatin1String>>, from: c_longlong, cs: CaseSensitivity, ) -> c_longlong
Calls C++ function: long long QStringView::lastIndexOf(QLatin1String s, long long from = …, Qt::CaseSensitivity cs = …) const.
Sourcepub unsafe fn last_index_of_q_char_longlong(
&self,
c: impl CastInto<Ref<QChar>>,
from: c_longlong,
) -> c_longlong
pub unsafe fn last_index_of_q_char_longlong( &self, c: impl CastInto<Ref<QChar>>, from: c_longlong, ) -> c_longlong
Calls C++ function: long long QStringView::lastIndexOf(QChar c, long long from = …) const.
Sourcepub unsafe fn last_index_of_q_char(
&self,
c: impl CastInto<Ref<QChar>>,
) -> c_longlong
pub unsafe fn last_index_of_q_char( &self, c: impl CastInto<Ref<QChar>>, ) -> c_longlong
Calls C++ function: long long QStringView::lastIndexOf(QChar c) const.
Sourcepub unsafe fn last_index_of_q_string_view_longlong(
&self,
s: impl CastInto<Ref<QStringView>>,
from: c_longlong,
) -> c_longlong
pub unsafe fn last_index_of_q_string_view_longlong( &self, s: impl CastInto<Ref<QStringView>>, from: c_longlong, ) -> c_longlong
Calls C++ function: long long QStringView::lastIndexOf(QStringView s, long long from = …) const.
Sourcepub unsafe fn last_index_of_q_string_view(
&self,
s: impl CastInto<Ref<QStringView>>,
) -> c_longlong
pub unsafe fn last_index_of_q_string_view( &self, s: impl CastInto<Ref<QStringView>>, ) -> c_longlong
Calls C++ function: long long QStringView::lastIndexOf(QStringView s) const.
Sourcepub unsafe fn last_index_of_q_latin1_string_longlong(
&self,
s: impl CastInto<Ref<QLatin1String>>,
from: c_longlong,
) -> c_longlong
pub unsafe fn last_index_of_q_latin1_string_longlong( &self, s: impl CastInto<Ref<QLatin1String>>, from: c_longlong, ) -> c_longlong
Calls C++ function: long long QStringView::lastIndexOf(QLatin1String s, long long from = …) const.
Sourcepub unsafe fn last_index_of_q_latin1_string(
&self,
s: impl CastInto<Ref<QLatin1String>>,
) -> c_longlong
pub unsafe fn last_index_of_q_latin1_string( &self, s: impl CastInto<Ref<QLatin1String>>, ) -> c_longlong
Calls C++ function: long long QStringView::lastIndexOf(QLatin1String s) const.
Sourcepub unsafe fn left(&self, n: c_longlong) -> CppBox<QStringView>
pub unsafe fn left(&self, n: c_longlong) -> CppBox<QStringView>
Calls C++ function: QStringView QStringView::left(long long n) const.
Sourcepub unsafe fn mid_1a(&self, pos: c_longlong) -> CppBox<QStringView>
pub unsafe fn mid_1a(&self, pos: c_longlong) -> CppBox<QStringView>
Calls C++ function: QStringView QStringView::mid(long long pos) const.
Sourcepub unsafe fn mid_2a(
&self,
pos: c_longlong,
n: c_longlong,
) -> CppBox<QStringView>
pub unsafe fn mid_2a( &self, pos: c_longlong, n: c_longlong, ) -> CppBox<QStringView>
Calls C++ function: QStringView QStringView::mid(long long pos, long long n) const.
Sourcepub unsafe fn new() -> CppBox<QStringView>
pub unsafe fn new() -> CppBox<QStringView>
Calls C++ function: [constructor] void QStringView::QStringView().
Sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<QStringView>>,
) -> CppBox<QStringView>
pub unsafe fn new_copy( other: impl CastInto<Ref<QStringView>>, ) -> CppBox<QStringView>
Calls C++ function: [constructor] void QStringView::QStringView(const QStringView& other).
Sourcepub unsafe fn right(&self, n: c_longlong) -> CppBox<QStringView>
pub unsafe fn right(&self, n: c_longlong) -> CppBox<QStringView>
Calls C++ function: QStringView QStringView::right(long long n) const.
Sourcepub unsafe fn size(&self) -> c_longlong
pub unsafe fn size(&self) -> c_longlong
Calls C++ function: long long QStringView::size() const.
Sourcepub unsafe fn split_q_string_view_q_flags_split_behavior_flags_case_sensitivity(
&self,
sep: impl CastInto<Ref<QStringView>>,
behavior: QFlags<SplitBehaviorFlags>,
cs: CaseSensitivity,
) -> CppBox<QListOfQStringView>
pub unsafe fn split_q_string_view_q_flags_split_behavior_flags_case_sensitivity( &self, sep: impl CastInto<Ref<QStringView>>, behavior: QFlags<SplitBehaviorFlags>, cs: CaseSensitivity, ) -> CppBox<QListOfQStringView>
Calls C++ function: QList<QStringView> QStringView::split(QStringView sep, QFlags<Qt::SplitBehaviorFlags> behavior = …, Qt::CaseSensitivity cs = …) const.
Sourcepub unsafe fn split_q_char_q_flags_split_behavior_flags_case_sensitivity(
&self,
sep: impl CastInto<Ref<QChar>>,
behavior: QFlags<SplitBehaviorFlags>,
cs: CaseSensitivity,
) -> CppBox<QListOfQStringView>
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<QListOfQStringView>
Calls C++ function: QList<QStringView> QStringView::split(QChar sep, QFlags<Qt::SplitBehaviorFlags> behavior = …, Qt::CaseSensitivity cs = …) const.
Sourcepub unsafe fn split_q_regular_expression_q_flags_split_behavior_flags(
&self,
sep: impl CastInto<Ref<QRegularExpression>>,
behavior: QFlags<SplitBehaviorFlags>,
) -> CppBox<QListOfQStringView>
pub unsafe fn split_q_regular_expression_q_flags_split_behavior_flags( &self, sep: impl CastInto<Ref<QRegularExpression>>, behavior: QFlags<SplitBehaviorFlags>, ) -> CppBox<QListOfQStringView>
Calls C++ function: QList<QStringView> QStringView::split(const QRegularExpression& sep, QFlags<Qt::SplitBehaviorFlags> behavior = …) const.
Sourcepub unsafe fn split_q_string_view_q_flags_split_behavior_flags(
&self,
sep: impl CastInto<Ref<QStringView>>,
behavior: QFlags<SplitBehaviorFlags>,
) -> CppBox<QListOfQStringView>
pub unsafe fn split_q_string_view_q_flags_split_behavior_flags( &self, sep: impl CastInto<Ref<QStringView>>, behavior: QFlags<SplitBehaviorFlags>, ) -> CppBox<QListOfQStringView>
Calls C++ function: QList<QStringView> QStringView::split(QStringView sep, QFlags<Qt::SplitBehaviorFlags> behavior = …) const.
Sourcepub unsafe fn split_q_string_view(
&self,
sep: impl CastInto<Ref<QStringView>>,
) -> CppBox<QListOfQStringView>
pub unsafe fn split_q_string_view( &self, sep: impl CastInto<Ref<QStringView>>, ) -> CppBox<QListOfQStringView>
Calls C++ function: QList<QStringView> QStringView::split(QStringView sep) const.
Sourcepub unsafe fn split_q_char_q_flags_split_behavior_flags(
&self,
sep: impl CastInto<Ref<QChar>>,
behavior: QFlags<SplitBehaviorFlags>,
) -> CppBox<QListOfQStringView>
pub unsafe fn split_q_char_q_flags_split_behavior_flags( &self, sep: impl CastInto<Ref<QChar>>, behavior: QFlags<SplitBehaviorFlags>, ) -> CppBox<QListOfQStringView>
Calls C++ function: QList<QStringView> QStringView::split(QChar sep, QFlags<Qt::SplitBehaviorFlags> behavior = …) const.
Sourcepub unsafe fn split_q_char(
&self,
sep: impl CastInto<Ref<QChar>>,
) -> CppBox<QListOfQStringView>
pub unsafe fn split_q_char( &self, sep: impl CastInto<Ref<QChar>>, ) -> CppBox<QListOfQStringView>
Calls C++ function: QList<QStringView> QStringView::split(QChar sep) const.
Sourcepub unsafe fn split_q_regular_expression(
&self,
sep: impl CastInto<Ref<QRegularExpression>>,
) -> CppBox<QListOfQStringView>
pub unsafe fn split_q_regular_expression( &self, sep: impl CastInto<Ref<QRegularExpression>>, ) -> CppBox<QListOfQStringView>
Calls C++ function: QList<QStringView> QStringView::split(const QRegularExpression& sep) const.
Sourcepub unsafe fn starts_with_q_string_view_case_sensitivity(
&self,
s: impl CastInto<Ref<QStringView>>,
cs: CaseSensitivity,
) -> bool
pub unsafe fn starts_with_q_string_view_case_sensitivity( &self, s: impl CastInto<Ref<QStringView>>, cs: CaseSensitivity, ) -> bool
Calls C++ function: bool QStringView::startsWith(QStringView s, Qt::CaseSensitivity cs = …) const.
Sourcepub unsafe fn starts_with_q_latin1_string_case_sensitivity(
&self,
s: impl CastInto<Ref<QLatin1String>>,
cs: CaseSensitivity,
) -> bool
pub unsafe fn starts_with_q_latin1_string_case_sensitivity( &self, s: impl CastInto<Ref<QLatin1String>>, cs: CaseSensitivity, ) -> bool
Calls C++ function: bool QStringView::startsWith(QLatin1String s, Qt::CaseSensitivity cs = …) const.
Sourcepub unsafe fn starts_with_q_char(&self, c: impl CastInto<Ref<QChar>>) -> bool
pub unsafe fn starts_with_q_char(&self, c: impl CastInto<Ref<QChar>>) -> bool
Calls C++ function: bool QStringView::startsWith(QChar c) const.
Sourcepub unsafe fn starts_with_q_char_case_sensitivity(
&self,
c: impl CastInto<Ref<QChar>>,
cs: CaseSensitivity,
) -> bool
pub unsafe fn starts_with_q_char_case_sensitivity( &self, c: impl CastInto<Ref<QChar>>, cs: CaseSensitivity, ) -> bool
Calls C++ function: bool QStringView::startsWith(QChar c, Qt::CaseSensitivity cs) const.
Sourcepub unsafe fn starts_with_q_string_view(
&self,
s: impl CastInto<Ref<QStringView>>,
) -> bool
pub unsafe fn starts_with_q_string_view( &self, s: impl CastInto<Ref<QStringView>>, ) -> bool
Calls C++ function: bool QStringView::startsWith(QStringView s) const.
Sourcepub unsafe fn starts_with_q_latin1_string(
&self,
s: impl CastInto<Ref<QLatin1String>>,
) -> bool
pub unsafe fn starts_with_q_latin1_string( &self, s: impl CastInto<Ref<QLatin1String>>, ) -> bool
Calls C++ function: bool QStringView::startsWith(QLatin1String s) const.
Sourcepub unsafe fn to_double_1a(&self, ok: *mut bool) -> c_double
pub unsafe fn to_double_1a(&self, ok: *mut bool) -> c_double
Calls C++ function: double QStringView::toDouble(bool* ok = …) const.
Sourcepub unsafe fn to_double_0a(&self) -> c_double
pub unsafe fn to_double_0a(&self) -> c_double
Calls C++ function: double QStringView::toDouble() const.
Sourcepub unsafe fn to_float_1a(&self, ok: *mut bool) -> c_float
pub unsafe fn to_float_1a(&self, ok: *mut bool) -> c_float
Calls C++ function: float QStringView::toFloat(bool* ok = …) const.
Sourcepub unsafe fn to_float_0a(&self) -> c_float
pub unsafe fn to_float_0a(&self) -> c_float
Calls C++ function: float QStringView::toFloat() const.
Sourcepub unsafe fn to_int_2a(&self, ok: *mut bool, base: c_int) -> c_int
pub unsafe fn to_int_2a(&self, ok: *mut bool, base: c_int) -> c_int
Calls C++ function: int QStringView::toInt(bool* ok = …, int base = …) const.
Sourcepub unsafe fn to_int_1a(&self, ok: *mut bool) -> c_int
pub unsafe fn to_int_1a(&self, ok: *mut bool) -> c_int
Calls C++ function: int QStringView::toInt(bool* ok = …) const.
Sourcepub unsafe fn to_latin1(&self) -> CppBox<QByteArray>
pub unsafe fn to_latin1(&self) -> CppBox<QByteArray>
Calls C++ function: QByteArray QStringView::toLatin1() const.
Sourcepub unsafe fn to_local8_bit(&self) -> CppBox<QByteArray>
pub unsafe fn to_local8_bit(&self) -> CppBox<QByteArray>
Calls C++ function: QByteArray QStringView::toLocal8Bit() const.
Sourcepub unsafe fn to_long_2a(&self, ok: *mut bool, base: c_int) -> c_long
pub unsafe fn to_long_2a(&self, ok: *mut bool, base: c_int) -> c_long
Calls C++ function: long QStringView::toLong(bool* ok = …, int base = …) const.
Sourcepub unsafe fn to_long_1a(&self, ok: *mut bool) -> c_long
pub unsafe fn to_long_1a(&self, ok: *mut bool) -> c_long
Calls C++ function: long QStringView::toLong(bool* ok = …) const.
Sourcepub unsafe fn to_long_0a(&self) -> c_long
pub unsafe fn to_long_0a(&self) -> c_long
Calls C++ function: long QStringView::toLong() const.
Sourcepub unsafe fn to_long_long_2a(&self, ok: *mut bool, base: c_int) -> c_longlong
pub unsafe fn to_long_long_2a(&self, ok: *mut bool, base: c_int) -> c_longlong
Calls C++ function: long long QStringView::toLongLong(bool* ok = …, int base = …) const.
Sourcepub unsafe fn to_long_long_1a(&self, ok: *mut bool) -> c_longlong
pub unsafe fn to_long_long_1a(&self, ok: *mut bool) -> c_longlong
Calls C++ function: long long QStringView::toLongLong(bool* ok = …) const.
Sourcepub unsafe fn to_long_long_0a(&self) -> c_longlong
pub unsafe fn to_long_long_0a(&self) -> c_longlong
Calls C++ function: long long QStringView::toLongLong() const.
Sourcepub unsafe fn to_short_2a(&self, ok: *mut bool, base: c_int) -> c_short
pub unsafe fn to_short_2a(&self, ok: *mut bool, base: c_int) -> c_short
Calls C++ function: short QStringView::toShort(bool* ok = …, int base = …) const.
Sourcepub unsafe fn to_short_1a(&self, ok: *mut bool) -> c_short
pub unsafe fn to_short_1a(&self, ok: *mut bool) -> c_short
Calls C++ function: short QStringView::toShort(bool* ok = …) const.
Sourcepub unsafe fn to_short_0a(&self) -> c_short
pub unsafe fn to_short_0a(&self) -> c_short
Calls C++ function: short QStringView::toShort() const.
Sourcepub unsafe fn to_string(&self) -> CppBox<QString>
pub unsafe fn to_string(&self) -> CppBox<QString>
Calls C++ function: QString QStringView::toString() const.
Sourcepub unsafe fn to_u_int_2a(&self, ok: *mut bool, base: c_int) -> c_uint
pub unsafe fn to_u_int_2a(&self, ok: *mut bool, base: c_int) -> c_uint
Calls C++ function: unsigned int QStringView::toUInt(bool* ok = …, int base = …) const.
Sourcepub unsafe fn to_u_int_1a(&self, ok: *mut bool) -> c_uint
pub unsafe fn to_u_int_1a(&self, ok: *mut bool) -> c_uint
Calls C++ function: unsigned int QStringView::toUInt(bool* ok = …) const.
Sourcepub unsafe fn to_u_int_0a(&self) -> c_uint
pub unsafe fn to_u_int_0a(&self) -> c_uint
Calls C++ function: unsigned int QStringView::toUInt() const.
Sourcepub unsafe fn to_u_long_2a(&self, ok: *mut bool, base: c_int) -> c_ulong
pub unsafe fn to_u_long_2a(&self, ok: *mut bool, base: c_int) -> c_ulong
Calls C++ function: unsigned long QStringView::toULong(bool* ok = …, int base = …) const.
Sourcepub unsafe fn to_u_long_1a(&self, ok: *mut bool) -> c_ulong
pub unsafe fn to_u_long_1a(&self, ok: *mut bool) -> c_ulong
Calls C++ function: unsigned long QStringView::toULong(bool* ok = …) const.
Sourcepub unsafe fn to_u_long_0a(&self) -> c_ulong
pub unsafe fn to_u_long_0a(&self) -> c_ulong
Calls C++ function: unsigned long QStringView::toULong() const.
Sourcepub unsafe fn to_u_long_long_2a(
&self,
ok: *mut bool,
base: c_int,
) -> c_ulonglong
pub unsafe fn to_u_long_long_2a( &self, ok: *mut bool, base: c_int, ) -> c_ulonglong
Calls C++ function: unsigned long long QStringView::toULongLong(bool* ok = …, int base = …) const.
Sourcepub unsafe fn to_u_long_long_1a(&self, ok: *mut bool) -> c_ulonglong
pub unsafe fn to_u_long_long_1a(&self, ok: *mut bool) -> c_ulonglong
Calls C++ function: unsigned long long QStringView::toULongLong(bool* ok = …) const.
Sourcepub unsafe fn to_u_long_long_0a(&self) -> c_ulonglong
pub unsafe fn to_u_long_long_0a(&self) -> c_ulonglong
Calls C++ function: unsigned long long QStringView::toULongLong() const.
Sourcepub unsafe fn to_u_short_2a(&self, ok: *mut bool, base: c_int) -> c_ushort
pub unsafe fn to_u_short_2a(&self, ok: *mut bool, base: c_int) -> c_ushort
Calls C++ function: unsigned short QStringView::toUShort(bool* ok = …, int base = …) const.
Sourcepub unsafe fn to_u_short_1a(&self, ok: *mut bool) -> c_ushort
pub unsafe fn to_u_short_1a(&self, ok: *mut bool) -> c_ushort
Calls C++ function: unsigned short QStringView::toUShort(bool* ok = …) const.
Sourcepub unsafe fn to_u_short_0a(&self) -> c_ushort
pub unsafe fn to_u_short_0a(&self) -> c_ushort
Calls C++ function: unsigned short QStringView::toUShort() const.
Sourcepub unsafe fn to_ucs4(&self) -> CppBox<QVectorOfUint>
pub unsafe fn to_ucs4(&self) -> CppBox<QVectorOfUint>
Calls C++ function: QVector<unsigned int> QStringView::toUcs4() const.
Sourcepub unsafe fn to_utf8(&self) -> CppBox<QByteArray>
pub unsafe fn to_utf8(&self) -> CppBox<QByteArray>
Calls C++ function: QByteArray QStringView::toUtf8() const.
Sourcepub unsafe fn to_w_char_array(&self, array: *mut wchar_t) -> c_int
pub unsafe fn to_w_char_array(&self, array: *mut wchar_t) -> c_int
Calls C++ function: int QStringView::toWCharArray(wchar_t* array) const.
Sourcepub unsafe fn trimmed(&self) -> CppBox<QStringView>
pub unsafe fn trimmed(&self) -> CppBox<QStringView>
Calls C++ function: QStringView QStringView::trimmed() const.
Sourcepub unsafe fn truncate(&self, n: c_longlong)
pub unsafe fn truncate(&self, n: c_longlong)
Calls C++ function: void QStringView::truncate(long long n).