Skip to main content

QStringList

Struct QStringList 

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

C++ class: QStringList.

Implementations§

Source§

impl QStringList

Source

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

Calls C++ function: bool QStringList::contains(const QString& str, 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 QStringList::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 QStringList::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 QStringList::contains(const QString& str) const.

Source

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

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

Source

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

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

Source

pub unsafe fn copy_from_q_list_of_q_string( &self, other: impl CastInto<Ref<QListOfQString>>, ) -> Ref<QStringList>

Calls C++ function: QStringList& QStringList::operator=(const QList<QString>& other).

Source

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

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

Source

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

Calls C++ function: int QStringList::indexOf(QStringView str, int from = …) 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 QStringList::indexOf(QLatin1String str, int from = …) const.

Source

pub unsafe fn index_of_q_reg_exp_int( &self, rx: impl CastInto<Ref<QRegExp>>, from: c_int, ) -> c_int

Calls C++ function: int QStringList::indexOf(const QRegExp& rx, int from = …) const.

Source

pub unsafe fn index_of_q_reg_exp_int2( &self, rx: impl CastInto<Ref<QRegExp>>, from: c_int, ) -> c_int

Calls C++ function: int QStringList::indexOf(QRegExp& rx, int from = …) const.

Source

pub unsafe fn index_of_q_regular_expression_int( &self, re: impl CastInto<Ref<QRegularExpression>>, from: c_int, ) -> c_int

Calls C++ function: int QStringList::indexOf(const QRegularExpression& re, int from = …) const.

Source

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

Calls C++ function: int QStringList::indexOf(QStringView str) const.

Source

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

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

Source

pub unsafe fn index_of_q_reg_exp( &self, rx: impl CastInto<Ref<QRegExp>>, ) -> c_int

Calls C++ function: int QStringList::indexOf(const QRegExp& rx) const.

Source

pub unsafe fn index_of_q_reg_exp2( &self, rx: impl CastInto<Ref<QRegExp>>, ) -> c_int

Calls C++ function: int QStringList::indexOf(QRegExp& rx) const.

Source

pub unsafe fn index_of_q_regular_expression( &self, re: impl CastInto<Ref<QRegularExpression>>, ) -> c_int

Calls C++ function: int QStringList::indexOf(const QRegularExpression& re) const.

Source

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

Calls C++ function: int QStringList::lastIndexOf(QStringView str, int from = …) 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 QStringList::lastIndexOf(QLatin1String str, int from = …) const.

Source

pub unsafe fn last_index_of_q_reg_exp_int( &self, rx: impl CastInto<Ref<QRegExp>>, from: c_int, ) -> c_int

Calls C++ function: int QStringList::lastIndexOf(const QRegExp& rx, int from = …) const.

Source

pub unsafe fn last_index_of_q_reg_exp_int2( &self, rx: impl CastInto<Ref<QRegExp>>, from: c_int, ) -> c_int

Calls C++ function: int QStringList::lastIndexOf(QRegExp& rx, int from = …) const.

Source

pub unsafe fn last_index_of_q_regular_expression_int( &self, re: impl CastInto<Ref<QRegularExpression>>, from: c_int, ) -> c_int

Calls C++ function: int QStringList::lastIndexOf(const QRegularExpression& re, int from = …) const.

Source

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

Calls C++ function: int QStringList::lastIndexOf(QStringView str) const.

Source

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

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

Source

pub unsafe fn last_index_of_q_reg_exp( &self, rx: impl CastInto<Ref<QRegExp>>, ) -> c_int

Calls C++ function: int QStringList::lastIndexOf(const QRegExp& rx) const.

Source

pub unsafe fn last_index_of_q_reg_exp2( &self, rx: impl CastInto<Ref<QRegExp>>, ) -> c_int

Calls C++ function: int QStringList::lastIndexOf(QRegExp& rx) const.

Source

pub unsafe fn last_index_of_q_regular_expression( &self, re: impl CastInto<Ref<QRegularExpression>>, ) -> c_int

Calls C++ function: int QStringList::lastIndexOf(const QRegularExpression& re) const.

Source

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

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

Source

pub unsafe fn from_q_string( i: impl CastInto<Ref<QString>>, ) -> CppBox<QStringList>

Calls C++ function: [constructor] void QStringList::QStringList(const QString& i).

Source

pub unsafe fn from_q_list_of_q_string( l: impl CastInto<Ref<QListOfQString>>, ) -> CppBox<QStringList>

Calls C++ function: [constructor] void QStringList::QStringList(const QList<QString>& l).

Source

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

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

Methods from Deref<Target = QListOfQString>§

Source

pub unsafe fn add_assign_q_list_of_q_string( &self, l: impl CastInto<Ref<QListOfQString>>, ) -> Ref<QListOfQString>

Calls C++ function: QList<QString>& QList<QString>::operator+=(const QList<QString>& l).

Source

pub unsafe fn add_assign_q_string( &self, t: impl CastInto<Ref<QString>>, ) -> Ref<QListOfQString>

Calls C++ function: QList<QString>& QList<QString>::operator+=(const QString& t).

Source

pub unsafe fn append_q_string(&self, t: impl CastInto<Ref<QString>>)

Calls C++ function: void QList<QString>::append(const QString& t).

Source

pub unsafe fn append_q_list_of_q_string( &self, t: impl CastInto<Ref<QListOfQString>>, )

Calls C++ function: void QList<QString>::append(const QList<QString>& t).

Source

pub unsafe fn at(&self, i: c_int) -> Ref<QString>

Calls C++ function: const QString& QList<QString>::at(int i) const.

Source

pub unsafe fn back_mut(&self) -> Ref<QString>

Calls C++ function: QString& QList<QString>::back().

Source

pub unsafe fn back(&self) -> Ref<QString>

Calls C++ function: const QString& QList<QString>::back() const.

Source

pub unsafe fn begin_mut(&self) -> CppBox<Iterator>

Calls C++ function: QList<QString>::iterator QList<QString>::begin().

Source

pub unsafe fn begin(&self) -> CppBox<ConstIterator>

Calls C++ function: QList<QString>::const_iterator QList<QString>::begin() const.

Source

pub unsafe fn cbegin(&self) -> CppBox<ConstIterator>

Calls C++ function: QList<QString>::const_iterator QList<QString>::cbegin() const.

Source

pub unsafe fn cend(&self) -> CppBox<ConstIterator>

Calls C++ function: QList<QString>::const_iterator QList<QString>::cend() const.

Source

pub unsafe fn clear(&self)

Calls C++ function: void QList<QString>::clear().

Source

pub unsafe fn const_begin(&self) -> CppBox<ConstIterator>

Calls C++ function: QList<QString>::const_iterator QList<QString>::constBegin() const.

Source

pub unsafe fn const_end(&self) -> CppBox<ConstIterator>

Calls C++ function: QList<QString>::const_iterator QList<QString>::constEnd() const.

Source

pub unsafe fn const_first(&self) -> Ref<QString>

Calls C++ function: const QString& QList<QString>::constFirst() const.

Source

pub unsafe fn const_last(&self) -> Ref<QString>

Calls C++ function: const QString& QList<QString>::constLast() const.

Source

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

Calls C++ function: bool QList<QString>::contains(const QString& t) const.

Source

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

Calls C++ function: QList<QString>& QList<QString>::operator=(const QList<QString>& l).

Source

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

Calls C++ function: int QList<QString>::count(const QString& t) const.

Source

pub unsafe fn count_0a(&self) -> c_int

Calls C++ function: int QList<QString>::count() const.

Source

pub unsafe fn detach(&self)

Calls C++ function: void QList<QString>::detach().

Source

pub unsafe fn detach_shared(&self)

Calls C++ function: void QList<QString>::detachShared().

Source

pub unsafe fn empty(&self) -> bool

Calls C++ function: bool QList<QString>::empty() const.

Source

pub unsafe fn end_mut(&self) -> CppBox<Iterator>

Calls C++ function: QList<QString>::iterator QList<QString>::end().

Source

pub unsafe fn end(&self) -> CppBox<ConstIterator>

Calls C++ function: QList<QString>::const_iterator QList<QString>::end() const.

Source

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

Calls C++ function: bool QList<QString>::endsWith(const QString& t) const.

Source

pub unsafe fn erase_1a( &self, pos: impl CastInto<Ref<Iterator>>, ) -> CppBox<Iterator>

Calls C++ function: QList<QString>::iterator QList<QString>::erase(QList<QString>::iterator pos).

Source

pub unsafe fn erase_2a( &self, first: impl CastInto<Ref<Iterator>>, last: impl CastInto<Ref<Iterator>>, ) -> CppBox<Iterator>

Calls C++ function: QList<QString>::iterator QList<QString>::erase(QList<QString>::iterator first, QList<QString>::iterator last).

Source

pub unsafe fn first_mut(&self) -> Ref<QString>

Calls C++ function: QString& QList<QString>::first().

Source

pub unsafe fn first(&self) -> Ref<QString>

Calls C++ function: const QString& QList<QString>::first() const.

Source

pub unsafe fn front_mut(&self) -> Ref<QString>

Calls C++ function: QString& QList<QString>::front().

Source

pub unsafe fn front(&self) -> Ref<QString>

Calls C++ function: const QString& QList<QString>::front() const.

Source

pub unsafe fn index(&self, i: c_int) -> Ref<QString>

Calls C++ function: const QString& QList<QString>::operator[](int i) const.

Source

pub unsafe fn index_mut(&self, i: c_int) -> Ref<QString>

Calls C++ function: QString& QList<QString>::operator[](int i).

Source

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

Calls C++ function: int QList<QString>::indexOf(const QString& t, int from = …) const.

Source

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

Calls C++ function: int QList<QString>::indexOf(const QString& t) const.

Source

pub unsafe fn insert_int_q_string( &self, i: c_int, t: impl CastInto<Ref<QString>>, )

Calls C++ function: void QList<QString>::insert(int i, const QString& t).

Source

pub unsafe fn insert_iterator_q_string( &self, before: impl CastInto<Ref<Iterator>>, t: impl CastInto<Ref<QString>>, ) -> CppBox<Iterator>

Calls C++ function: QList<QString>::iterator QList<QString>::insert(QList<QString>::iterator before, const QString& t).

Source

pub unsafe fn is_detached(&self) -> bool

Calls C++ function: bool QList<QString>::isDetached() const.

Source

pub unsafe fn is_empty(&self) -> bool

Calls C++ function: bool QList<QString>::isEmpty() const.

Source

pub unsafe fn is_shared_with( &self, other: impl CastInto<Ref<QListOfQString>>, ) -> bool

Calls C++ function: bool QList<QString>::isSharedWith(const QList<QString>& other) const.

Source

pub unsafe fn last_mut(&self) -> Ref<QString>

Calls C++ function: QString& QList<QString>::last().

Source

pub unsafe fn last(&self) -> Ref<QString>

Calls C++ function: const QString& QList<QString>::last() const.

Source

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

Calls C++ function: int QList<QString>::lastIndexOf(const QString& t, int from = …) const.

Source

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

Calls C++ function: int QList<QString>::lastIndexOf(const QString& t) const.

Source

pub unsafe fn length(&self) -> c_int

Calls C++ function: int QList<QString>::length() const.

Source

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

Calls C++ function: QList<QString> QList<QString>::mid(int pos, int length = …) const.

Source

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

Calls C++ function: QList<QString> QList<QString>::mid(int pos) const.

Source

pub unsafe fn move_(&self, from: c_int, to: c_int)

Calls C++ function: void QList<QString>::move(int from, int to).

Source

pub unsafe fn pop_back(&self)

Calls C++ function: void QList<QString>::pop_back().

Source

pub unsafe fn pop_front(&self)

Calls C++ function: void QList<QString>::pop_front().

Source

pub unsafe fn prepend(&self, t: impl CastInto<Ref<QString>>)

Calls C++ function: void QList<QString>::prepend(const QString& t).

Source

pub unsafe fn push_back(&self, t: impl CastInto<Ref<QString>>)

Calls C++ function: void QList<QString>::push_back(const QString& t).

Source

pub unsafe fn push_front(&self, t: impl CastInto<Ref<QString>>)

Calls C++ function: void QList<QString>::push_front(const QString& t).

Source

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

Calls C++ function: int QList<QString>::removeAll(const QString& t).

Source

pub unsafe fn remove_at(&self, i: c_int)

Calls C++ function: void QList<QString>::removeAt(int i).

Source

pub unsafe fn remove_first(&self)

Calls C++ function: void QList<QString>::removeFirst().

Source

pub unsafe fn remove_last(&self)

Calls C++ function: void QList<QString>::removeLast().

Source

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

Calls C++ function: bool QList<QString>::removeOne(const QString& t).

Source

pub unsafe fn replace(&self, i: c_int, t: impl CastInto<Ref<QString>>)

Calls C++ function: void QList<QString>::replace(int i, const QString& t).

Source

pub unsafe fn reserve(&self, size: c_int)

Calls C++ function: void QList<QString>::reserve(int size).

Source

pub unsafe fn set_sharable(&self, sharable: bool)

Calls C++ function: void QList<QString>::setSharable(bool sharable).

Source

pub unsafe fn size(&self) -> c_int

Calls C++ function: int QList<QString>::size() const.

Source

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

Calls C++ function: bool QList<QString>::startsWith(const QString& t) const.

Source

pub unsafe fn swap_1a(&self, other: impl CastInto<Ref<QListOfQString>>)

Calls C++ function: void QList<QString>::swap(QList<QString>& other).

Source

pub unsafe fn swap_2a(&self, i: c_int, j: c_int)

Calls C++ function: void QList<QString>::swap(int i, int j).

Source

pub unsafe fn swap_items_at(&self, i: c_int, j: c_int)

Calls C++ function: void QList<QString>::swapItemsAt(int i, int j).

Source

pub unsafe fn take_at(&self, i: c_int) -> CppBox<QString>

Calls C++ function: QString QList<QString>::takeAt(int i).

Source

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

Calls C++ function: QString QList<QString>::takeFirst().

Source

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

Calls C++ function: QString QList<QString>::takeLast().

Source

pub unsafe fn value_1a(&self, i: c_int) -> CppBox<QString>

Calls C++ function: QString QList<QString>::value(int i) const.

Source

pub unsafe fn value_2a( &self, i: c_int, default_value: impl CastInto<Ref<QString>>, ) -> CppBox<QString>

Calls C++ function: QString QList<QString>::value(int i, const QString& defaultValue) const.

Trait Implementations§

Source§

impl Add<Ref<QStringList>> for &QStringList

Source§

fn add(self, other: Ref<QStringList>) -> CppBox<QStringList>

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

Source§

type Output = CppBox<QStringList>

The resulting type after applying the + operator.
Source§

impl CppDeletable for QStringList

Source§

unsafe fn delete(&self)

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

Source§

impl Deref for QStringList

Source§

fn deref(&self) -> &QListOfQString

Calls C++ function: QList<QString>* static_cast<QList<QString>*>(QStringList* ptr).

Source§

type Target = QListOfQString

The resulting type after dereferencing.
Source§

impl Shl<Ref<QListOfQString>> for &QStringList

Source§

fn shl(self, l: Ref<QListOfQString>) -> Ref<QStringList>

Calls C++ function: QStringList& QStringList::operator<<(const QList<QString>& l).

Source§

type Output = Ref<QStringList>

The resulting type after applying the << operator.
Source§

impl Shl<Ref<QString>> for &QStringList

Source§

fn shl(self, str: Ref<QString>) -> Ref<QStringList>

Calls C++ function: QStringList& QStringList::operator<<(const QString& str).

Source§

type Output = Ref<QStringList>

The resulting type after applying the << operator.
Source§

impl Shl<Ref<QStringList>> for &QStringList

Source§

fn shl(self, l: Ref<QStringList>) -> Ref<QStringList>

Calls C++ function: QStringList& QStringList::operator<<(const QStringList& l).

Source§

type Output = Ref<QStringList>

The resulting type after applying the << operator.
Source§

impl StaticDowncast<QStringList> for QListOfQString

Source§

unsafe fn static_downcast(ptr: Ptr<QListOfQString>) -> Ptr<QStringList>

Calls C++ function: QStringList* static_cast<QStringList*>(QList<QString>* ptr).

Source§

impl StaticUpcast<QListOfQString> for QStringList

Source§

unsafe fn static_upcast(ptr: Ptr<QStringList>) -> Ptr<QListOfQString>

Calls C++ function: QList<QString>* static_cast<QList<QString>*>(QStringList* ptr).

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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
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.