Skip to main content

QStringView

Struct QStringView 

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

C++ class: QStringView.

Implementations§

Source§

impl QStringView

Source

pub unsafe fn at(&self, n: c_longlong) -> CppBox<QChar>

Calls C++ function: QChar QStringView::at(long long n) const.

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

Calls C++ function: void QStringView::chop(long long n).

Source

pub unsafe fn chopped(&self, n: c_longlong) -> CppBox<QStringView>

Calls C++ function: QStringView QStringView::chopped(long long n) const.

Source

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.

Source

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.

Source

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

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

Source

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.

Source

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

Calls C++ function: int QStringView::compare(QStringView other) const.

Source

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

Calls C++ function: int QStringView::compare(QLatin1String other) const.

Source

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.

Source

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.

Source

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.

Source

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

Calls C++ function: bool QStringView::contains(QChar c) const.

Source

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

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

Source

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

Calls C++ function: bool QStringView::contains(QLatin1String s) const.

Source

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

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

Source

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.

Source

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.

Source

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

Calls C++ function: long long QStringView::count(QChar c) const.

Source

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.

Source

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

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

Source

pub unsafe fn empty(&self) -> bool

Calls C++ function: bool QStringView::empty() const.

Source

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

Calls C++ function: const QChar* QStringView::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 QStringView::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 QStringView::endsWith(QLatin1String s, Qt::CaseSensitivity cs = …) const.

Source

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

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

Source

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.

Source

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

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

Source

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

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

Source

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

Calls C++ function: QChar QStringView::first() const.

Source

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

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

Source

pub unsafe fn index(&self, n: c_longlong) -> CppBox<QChar>

Calls C++ function: QChar QStringView::operator[](long long n) const.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

pub unsafe fn is_empty(&self) -> bool

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

Source

pub unsafe fn is_null(&self) -> bool

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

Source

pub unsafe fn is_right_to_left(&self) -> bool

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

Source

pub unsafe fn is_valid_utf16(&self) -> bool

Calls C++ function: bool QStringView::isValidUtf16() const.

Source

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

Calls C++ function: QChar QStringView::last() const.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

pub unsafe fn left(&self, n: c_longlong) -> CppBox<QStringView>

Calls C++ function: QStringView QStringView::left(long long n) const.

Source

pub unsafe fn length(&self) -> c_int

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

Source

pub unsafe fn mid_1a(&self, pos: c_longlong) -> CppBox<QStringView>

Calls C++ function: QStringView QStringView::mid(long long pos) const.

Source

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.

Source

pub unsafe fn new() -> CppBox<QStringView>

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

Source

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

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

Source

pub unsafe fn right(&self, n: c_longlong) -> CppBox<QStringView>

Calls C++ function: QStringView QStringView::right(long long n) const.

Source

pub unsafe fn size(&self) -> c_longlong

Calls C++ function: long long QStringView::size() const.

Source

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.

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<QListOfQStringView>

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

Source

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.

Source

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.

Source

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.

Source

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.

Source

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

Calls C++ function: QList<QStringView> QStringView::split(QChar sep) const.

Source

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.

Source

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.

Source

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.

Source

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

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

Source

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.

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn to_double_0a(&self) -> c_double

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

Source

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

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

Source

pub unsafe fn to_float_0a(&self) -> c_float

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

Source

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.

Source

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

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

Source

pub unsafe fn to_int_0a(&self) -> c_int

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

Source

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

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

Source

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

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

Source

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.

Source

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

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

Source

pub unsafe fn to_long_0a(&self) -> c_long

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

Source

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.

Source

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

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

Source

pub unsafe fn to_long_long_0a(&self) -> c_longlong

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

Source

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.

Source

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

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

Source

pub unsafe fn to_short_0a(&self) -> c_short

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

Source

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

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

Source

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.

Source

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

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

Source

pub unsafe fn to_u_int_0a(&self) -> c_uint

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

Source

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.

Source

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

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

Source

pub unsafe fn to_u_long_0a(&self) -> c_ulong

Calls C++ function: unsigned long QStringView::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 QStringView::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 QStringView::toULongLong(bool* ok = …) const.

Source

pub unsafe fn to_u_long_long_0a(&self) -> c_ulonglong

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

Source

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.

Source

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

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

Source

pub unsafe fn to_u_short_0a(&self) -> c_ushort

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

Source

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

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

Source

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

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

Source

pub unsafe fn to_w_char_array(&self, array: *mut wchar_t) -> c_int

Calls C++ function: int QStringView::toWCharArray(wchar_t* array) const.

Source

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

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

Source

pub unsafe fn truncate(&self, n: c_longlong)

Calls C++ function: void QStringView::truncate(long long n).

Source

pub unsafe fn utf16(&self) -> *const char16_t

Calls C++ function: const char16_t* QStringView::utf16() const.

Trait Implementations§

Source§

impl Begin for QStringView

Source§

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

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

Source§

type Output = Ptr<QChar>

Output type.
Source§

impl CppDeletable for QStringView

Source§

unsafe fn delete(&self)

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

Source§

impl Data for QStringView

Source§

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

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

Source§

type Output = Ptr<QChar>

Return type of data() function.
Source§

impl End for QStringView

Source§

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

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

Source§

type Output = Ptr<QChar>

Output type.
Source§

impl Ge<Ref<QChar>> for QStringView

Source§

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

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

Source§

impl Ge<Ref<QLatin1String>> for QStringView

Source§

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

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

Source§

impl Ge<Ref<QStringView>> for QStringView

Source§

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

Calls C++ function: bool operator>=(QStringView lhs, QStringView rhs).

Source§

impl Gt<Ref<QChar>> for QStringView

Source§

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

Calls C++ function: bool operator>(QStringView lhs, QChar rhs).

Source§

impl Gt<Ref<QLatin1String>> for QStringView

Source§

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

Calls C++ function: bool operator>(QStringView lhs, QLatin1String rhs).

Source§

impl Gt<Ref<QStringView>> for QStringView

Source§

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

Calls C++ function: bool operator>(QStringView lhs, QStringView rhs).

Source§

impl Le<Ref<QChar>> for QStringView

Source§

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

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

Source§

impl Le<Ref<QLatin1String>> for QStringView

Source§

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

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

Source§

impl Le<Ref<QStringView>> for QStringView

Source§

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

Calls C++ function: bool operator<=(QStringView lhs, QStringView rhs).

Source§

impl Lt<Ref<QChar>> for QStringView

Source§

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

Calls C++ function: bool operator<(QStringView lhs, QChar rhs).

Source§

impl Lt<Ref<QLatin1String>> for QStringView

Source§

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

Calls C++ function: bool operator<(QStringView lhs, QLatin1String rhs).

Source§

impl Lt<Ref<QStringView>> for QStringView

Source§

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

Calls C++ function: bool operator<(QStringView lhs, QStringView rhs).

Source§

impl PartialEq<Ref<QChar>> for QStringView

Source§

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

Calls C++ function: bool operator==(QStringView 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 QStringView

Source§

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

Calls C++ function: bool operator==(QStringView 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<QStringView>> for QStringView

Source§

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

Calls C++ function: bool operator==(QStringView lhs, QStringView 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 Size for QStringView

Source§

unsafe fn size(&self) -> usize

Calls C++ function: long long QStringView::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.