Skip to main content

QLatin1String

Struct QLatin1String 

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

C++ class: QLatin1String.

Implementations§

Source§

impl QLatin1String

Source

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

Calls C++ function: QLatin1Char QLatin1String::at(int i) const.

Source

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

Calls C++ function: QLatin1Char QLatin1String::back() const.

Source

pub unsafe fn begin(&self) -> *const c_char

Calls C++ function: const char* QLatin1String::begin() const.

Source

pub unsafe fn cbegin(&self) -> *const c_char

Calls C++ function: const char* QLatin1String::cbegin() const.

Source

pub unsafe fn cend(&self) -> *const c_char

Calls C++ function: const char* QLatin1String::cend() const.

Source

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

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

Source

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

Calls C++ function: QLatin1String QLatin1String::chopped(int 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 QLatin1String::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 QLatin1String::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 QLatin1String::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 QLatin1String::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 QLatin1String::compare(QStringView other) const.

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn data(&self) -> *const c_char

Calls C++ function: const char* QLatin1String::data() const.

Source

pub unsafe fn end(&self) -> *const c_char

Calls C++ function: const char* QLatin1String::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 QLatin1String::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 QLatin1String::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 QLatin1String::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 QLatin1String::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 QLatin1String::endsWith(QStringView s) const.

Source

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

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

Source

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

Calls C++ function: QLatin1Char QLatin1String::front() const.

Source

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

Calls C++ function: QLatin1Char QLatin1String::operator[](int i) 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 QLatin1String::indexOf(QStringView s, int from = …, Qt::CaseSensitivity cs = …) const.

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

Calls C++ function: int QLatin1String::indexOf(QChar c) const.

Source

pub unsafe fn is_empty(&self) -> bool

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

Source

pub unsafe fn is_null(&self) -> bool

Calls C++ function: bool QLatin1String::isNull() 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 QLatin1String::lastIndexOf(QStringView s, int from = …, Qt::CaseSensitivity cs = …) const.

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

Calls C++ function: int QLatin1String::lastIndexOf(QChar c) const.

Source

pub unsafe fn latin1(&self) -> *const c_char

Calls C++ function: const char* QLatin1String::latin1() const.

Source

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

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

Source

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

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

Source

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

Calls C++ function: QLatin1String QLatin1String::mid(int pos, int n) const.

Source

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

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

Source

pub unsafe fn from_char(s: *const c_char) -> CppBox<QLatin1String>

Calls C++ function: [constructor] void QLatin1String::QLatin1String(const char* s).

Source

pub unsafe fn from_2_char( f: *const c_char, l: *const c_char, ) -> CppBox<QLatin1String>

Calls C++ function: [constructor] void QLatin1String::QLatin1String(const char* f, const char* l).

Source

pub unsafe fn from_char_int( s: *const c_char, sz: c_int, ) -> CppBox<QLatin1String>

Calls C++ function: [constructor] void QLatin1String::QLatin1String(const char* s, int sz).

Source

pub unsafe fn from_q_byte_array( s: impl CastInto<Ref<QByteArray>>, ) -> CppBox<QLatin1String>

Calls C++ function: [constructor] void QLatin1String::QLatin1String(const QByteArray& s).

Source

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

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

Source

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

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

Source

pub unsafe fn size(&self) -> c_int

Calls C++ function: int QLatin1String::size() 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 QLatin1String::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 QLatin1String::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 QLatin1String::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 QLatin1String::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 QLatin1String::startsWith(QStringView s) const.

Source

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

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

Source

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

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

Source

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

Calls C++ function: void QLatin1String::truncate(int n).

Trait Implementations§

Source§

impl Add<Ref<QStringRef>> for &QLatin1String

Source§

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

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

Source§

type Output = CppBox<QString>

The resulting type after applying the + operator.
Source§

impl Begin for QLatin1String

Source§

unsafe fn begin(&self) -> *const c_char

Calls C++ function: const char* QLatin1String::begin() const.

Source§

type Output = *const i8

Output type.
Source§

impl CppDeletable for QLatin1String

Source§

unsafe fn delete(&self)

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

Source§

impl Data for QLatin1String

Source§

unsafe fn data(&self) -> *const c_char

Calls C++ function: const char* QLatin1String::data() const.

Source§

type Output = *const i8

Return type of data() function.
Source§

impl End for QLatin1String

Source§

unsafe fn end(&self) -> *const c_char

Calls C++ function: const char* QLatin1String::end() const.

Source§

type Output = *const i8

Output type.
Source§

impl Ge<*const i8> for QLatin1String

Source§

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

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

Source§

impl Ge<Ref<QByteArray>> for QLatin1String

Source§

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

Calls C++ function: bool QLatin1String::operator>=(const QByteArray& s) const.

Source§

impl Ge<Ref<QChar>> for QLatin1String

Source§

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

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

Source§

impl Ge<Ref<QLatin1String>> for QLatin1String

Source§

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

Calls C++ function: bool operator>=(QLatin1String s1, QLatin1String s2).

Source§

impl Ge<Ref<QString>> for QLatin1String

Source§

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

Calls C++ function: bool QLatin1String::operator>=(const QString& s) const.

Source§

impl Ge<Ref<QStringRef>> for QLatin1String

Source§

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

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

Source§

impl Ge<Ref<QStringView>> for QLatin1String

Source§

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

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

Source§

impl Gt<*const i8> for QLatin1String

Source§

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

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

Source§

impl Gt<Ref<QByteArray>> for QLatin1String

Source§

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

Calls C++ function: bool QLatin1String::operator>(const QByteArray& s) const.

Source§

impl Gt<Ref<QChar>> for QLatin1String

Source§

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

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

Source§

impl Gt<Ref<QLatin1String>> for QLatin1String

Source§

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

Calls C++ function: bool operator>(QLatin1String s1, QLatin1String s2).

Source§

impl Gt<Ref<QString>> for QLatin1String

Source§

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

Calls C++ function: bool QLatin1String::operator>(const QString& s) const.

Source§

impl Gt<Ref<QStringRef>> for QLatin1String

Source§

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

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

Source§

impl Gt<Ref<QStringView>> for QLatin1String

Source§

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

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

Source§

impl Le<*const i8> for QLatin1String

Source§

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

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

Source§

impl Le<Ref<QByteArray>> for QLatin1String

Source§

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

Calls C++ function: bool QLatin1String::operator<=(const QByteArray& s) const.

Source§

impl Le<Ref<QChar>> for QLatin1String

Source§

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

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

Source§

impl Le<Ref<QLatin1String>> for QLatin1String

Source§

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

Calls C++ function: bool operator<=(QLatin1String s1, QLatin1String s2).

Source§

impl Le<Ref<QString>> for QLatin1String

Source§

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

Calls C++ function: bool QLatin1String::operator<=(const QString& s) const.

Source§

impl Le<Ref<QStringRef>> for QLatin1String

Source§

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

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

Source§

impl Le<Ref<QStringView>> for QLatin1String

Source§

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

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

Source§

impl Lt<*const i8> for QLatin1String

Source§

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

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

Source§

impl Lt<Ref<QByteArray>> for QLatin1String

Source§

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

Calls C++ function: bool QLatin1String::operator<(const QByteArray& s) const.

Source§

impl Lt<Ref<QChar>> for QLatin1String

Source§

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

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

Source§

impl Lt<Ref<QLatin1String>> for QLatin1String

Source§

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

Calls C++ function: bool operator<(QLatin1String s1, QLatin1String s2).

Source§

impl Lt<Ref<QString>> for QLatin1String

Source§

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

Calls C++ function: bool QLatin1String::operator<(const QString& s) const.

Source§

impl Lt<Ref<QStringRef>> for QLatin1String

Source§

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

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

Source§

impl Lt<Ref<QStringView>> for QLatin1String

Source§

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

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

Source§

impl PartialEq<*const i8> for QLatin1String

Source§

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

Calls C++ function: bool QLatin1String::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 QLatin1String

Source§

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

Calls C++ function: bool QLatin1String::operator==(const QByteArray& 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<QChar>> for QLatin1String

Source§

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

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

Source§

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

Calls C++ function: bool operator==(QLatin1String s1, QLatin1String 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 PartialEq<Ref<QString>> for QLatin1String

Source§

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

Calls C++ function: bool QLatin1String::operator==(const QString& 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<QStringRef>> for QLatin1String

Source§

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

Calls C++ function: bool operator==(QLatin1String lhs, const QStringRef& 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 QLatin1String

Source§

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

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

Source§

unsafe fn size(&self) -> usize

Calls C++ function: int QLatin1String::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.