pub struct QListOfQModelIndex { /* private fields */ }Expand description
C++ class: QList<QModelIndex>.
Implementations§
Source§impl QListOfQModelIndex
impl QListOfQModelIndex
Sourcepub unsafe fn add_assign_q_list_of_q_model_index(
&self,
l: impl CastInto<Ref<QListOfQModelIndex>>,
) -> Ref<QListOfQModelIndex>
pub unsafe fn add_assign_q_list_of_q_model_index( &self, l: impl CastInto<Ref<QListOfQModelIndex>>, ) -> Ref<QListOfQModelIndex>
Calls C++ function: QList<QModelIndex>& QList<QModelIndex>::operator+=(const QList<QModelIndex>& l).
Sourcepub unsafe fn add_assign_q_model_index(
&self,
t: impl CastInto<Ref<QModelIndex>>,
) -> Ref<QListOfQModelIndex>
pub unsafe fn add_assign_q_model_index( &self, t: impl CastInto<Ref<QModelIndex>>, ) -> Ref<QListOfQModelIndex>
Calls C++ function: QList<QModelIndex>& QList<QModelIndex>::operator+=(const QModelIndex& t).
Sourcepub unsafe fn append_q_model_index(&self, t: impl CastInto<Ref<QModelIndex>>)
pub unsafe fn append_q_model_index(&self, t: impl CastInto<Ref<QModelIndex>>)
Calls C++ function: void QList<QModelIndex>::append(const QModelIndex& t).
Sourcepub unsafe fn append_q_list_of_q_model_index(
&self,
t: impl CastInto<Ref<QListOfQModelIndex>>,
)
pub unsafe fn append_q_list_of_q_model_index( &self, t: impl CastInto<Ref<QListOfQModelIndex>>, )
Calls C++ function: void QList<QModelIndex>::append(const QList<QModelIndex>& t).
Sourcepub unsafe fn at(&self, i: c_int) -> Ref<QModelIndex>
pub unsafe fn at(&self, i: c_int) -> Ref<QModelIndex>
Calls C++ function: const QModelIndex& QList<QModelIndex>::at(int i) const.
Sourcepub unsafe fn back_mut(&self) -> Ref<QModelIndex>
pub unsafe fn back_mut(&self) -> Ref<QModelIndex>
Calls C++ function: QModelIndex& QList<QModelIndex>::back().
Sourcepub unsafe fn back(&self) -> Ref<QModelIndex>
pub unsafe fn back(&self) -> Ref<QModelIndex>
Calls C++ function: const QModelIndex& QList<QModelIndex>::back() const.
Sourcepub unsafe fn begin_mut(&self) -> CppBox<Iterator>
pub unsafe fn begin_mut(&self) -> CppBox<Iterator>
Calls C++ function: QList<QModelIndex>::iterator QList<QModelIndex>::begin().
Sourcepub unsafe fn begin(&self) -> CppBox<ConstIterator>
pub unsafe fn begin(&self) -> CppBox<ConstIterator>
Calls C++ function: QList<QModelIndex>::const_iterator QList<QModelIndex>::begin() const.
Sourcepub unsafe fn cbegin(&self) -> CppBox<ConstIterator>
pub unsafe fn cbegin(&self) -> CppBox<ConstIterator>
Calls C++ function: QList<QModelIndex>::const_iterator QList<QModelIndex>::cbegin() const.
Sourcepub unsafe fn cend(&self) -> CppBox<ConstIterator>
pub unsafe fn cend(&self) -> CppBox<ConstIterator>
Calls C++ function: QList<QModelIndex>::const_iterator QList<QModelIndex>::cend() const.
Sourcepub unsafe fn const_begin(&self) -> CppBox<ConstIterator>
pub unsafe fn const_begin(&self) -> CppBox<ConstIterator>
Calls C++ function: QList<QModelIndex>::const_iterator QList<QModelIndex>::constBegin() const.
Sourcepub unsafe fn const_end(&self) -> CppBox<ConstIterator>
pub unsafe fn const_end(&self) -> CppBox<ConstIterator>
Calls C++ function: QList<QModelIndex>::const_iterator QList<QModelIndex>::constEnd() const.
Sourcepub unsafe fn const_first(&self) -> Ref<QModelIndex>
pub unsafe fn const_first(&self) -> Ref<QModelIndex>
Calls C++ function: const QModelIndex& QList<QModelIndex>::constFirst() const.
Sourcepub unsafe fn const_last(&self) -> Ref<QModelIndex>
pub unsafe fn const_last(&self) -> Ref<QModelIndex>
Calls C++ function: const QModelIndex& QList<QModelIndex>::constLast() const.
Sourcepub unsafe fn contains(&self, t: impl CastInto<Ref<QModelIndex>>) -> bool
pub unsafe fn contains(&self, t: impl CastInto<Ref<QModelIndex>>) -> bool
Calls C++ function: bool QList<QModelIndex>::contains(const QModelIndex& t) const.
Sourcepub unsafe fn copy_from(
&self,
l: impl CastInto<Ref<QListOfQModelIndex>>,
) -> Ref<QListOfQModelIndex>
pub unsafe fn copy_from( &self, l: impl CastInto<Ref<QListOfQModelIndex>>, ) -> Ref<QListOfQModelIndex>
Calls C++ function: QList<QModelIndex>& QList<QModelIndex>::operator=(const QList<QModelIndex>& l).
Sourcepub unsafe fn count_1a(&self, t: impl CastInto<Ref<QModelIndex>>) -> c_int
pub unsafe fn count_1a(&self, t: impl CastInto<Ref<QModelIndex>>) -> c_int
Calls C++ function: int QList<QModelIndex>::count(const QModelIndex& t) const.
Sourcepub unsafe fn count_0a(&self) -> c_int
pub unsafe fn count_0a(&self) -> c_int
Calls C++ function: int QList<QModelIndex>::count() const.
Calls C++ function: void QList<QModelIndex>::detachShared().
Sourcepub unsafe fn end_mut(&self) -> CppBox<Iterator>
pub unsafe fn end_mut(&self) -> CppBox<Iterator>
Calls C++ function: QList<QModelIndex>::iterator QList<QModelIndex>::end().
Sourcepub unsafe fn end(&self) -> CppBox<ConstIterator>
pub unsafe fn end(&self) -> CppBox<ConstIterator>
Calls C++ function: QList<QModelIndex>::const_iterator QList<QModelIndex>::end() const.
Sourcepub unsafe fn ends_with(&self, t: impl CastInto<Ref<QModelIndex>>) -> bool
pub unsafe fn ends_with(&self, t: impl CastInto<Ref<QModelIndex>>) -> bool
Calls C++ function: bool QList<QModelIndex>::endsWith(const QModelIndex& t) const.
Sourcepub unsafe fn erase_1a(
&self,
pos: impl CastInto<Ref<Iterator>>,
) -> CppBox<Iterator>
pub unsafe fn erase_1a( &self, pos: impl CastInto<Ref<Iterator>>, ) -> CppBox<Iterator>
Calls C++ function: QList<QModelIndex>::iterator QList<QModelIndex>::erase(QList<QModelIndex>::iterator pos).
Sourcepub unsafe fn erase_2a(
&self,
first: impl CastInto<Ref<Iterator>>,
last: impl CastInto<Ref<Iterator>>,
) -> CppBox<Iterator>
pub unsafe fn erase_2a( &self, first: impl CastInto<Ref<Iterator>>, last: impl CastInto<Ref<Iterator>>, ) -> CppBox<Iterator>
Calls C++ function: QList<QModelIndex>::iterator QList<QModelIndex>::erase(QList<QModelIndex>::iterator first, QList<QModelIndex>::iterator last).
Sourcepub unsafe fn first_mut(&self) -> Ref<QModelIndex>
pub unsafe fn first_mut(&self) -> Ref<QModelIndex>
Calls C++ function: QModelIndex& QList<QModelIndex>::first().
Sourcepub unsafe fn first(&self) -> Ref<QModelIndex>
pub unsafe fn first(&self) -> Ref<QModelIndex>
Calls C++ function: const QModelIndex& QList<QModelIndex>::first() const.
Sourcepub unsafe fn front_mut(&self) -> Ref<QModelIndex>
pub unsafe fn front_mut(&self) -> Ref<QModelIndex>
Calls C++ function: QModelIndex& QList<QModelIndex>::front().
Sourcepub unsafe fn front(&self) -> Ref<QModelIndex>
pub unsafe fn front(&self) -> Ref<QModelIndex>
Calls C++ function: const QModelIndex& QList<QModelIndex>::front() const.
Sourcepub unsafe fn index(&self, i: c_int) -> Ref<QModelIndex>
pub unsafe fn index(&self, i: c_int) -> Ref<QModelIndex>
Calls C++ function: const QModelIndex& QList<QModelIndex>::operator[](int i) const.
Sourcepub unsafe fn index_mut(&self, i: c_int) -> Ref<QModelIndex>
pub unsafe fn index_mut(&self, i: c_int) -> Ref<QModelIndex>
Calls C++ function: QModelIndex& QList<QModelIndex>::operator[](int i).
Sourcepub unsafe fn index_of_2a(
&self,
t: impl CastInto<Ref<QModelIndex>>,
from: c_int,
) -> c_int
pub unsafe fn index_of_2a( &self, t: impl CastInto<Ref<QModelIndex>>, from: c_int, ) -> c_int
Calls C++ function: int QList<QModelIndex>::indexOf(const QModelIndex& t, int from = …) const.
Sourcepub unsafe fn index_of_1a(&self, t: impl CastInto<Ref<QModelIndex>>) -> c_int
pub unsafe fn index_of_1a(&self, t: impl CastInto<Ref<QModelIndex>>) -> c_int
Calls C++ function: int QList<QModelIndex>::indexOf(const QModelIndex& t) const.
Sourcepub unsafe fn insert_int_q_model_index(
&self,
i: c_int,
t: impl CastInto<Ref<QModelIndex>>,
)
pub unsafe fn insert_int_q_model_index( &self, i: c_int, t: impl CastInto<Ref<QModelIndex>>, )
Calls C++ function: void QList<QModelIndex>::insert(int i, const QModelIndex& t).
Sourcepub unsafe fn insert_iterator_q_model_index(
&self,
before: impl CastInto<Ref<Iterator>>,
t: impl CastInto<Ref<QModelIndex>>,
) -> CppBox<Iterator>
pub unsafe fn insert_iterator_q_model_index( &self, before: impl CastInto<Ref<Iterator>>, t: impl CastInto<Ref<QModelIndex>>, ) -> CppBox<Iterator>
Calls C++ function: QList<QModelIndex>::iterator QList<QModelIndex>::insert(QList<QModelIndex>::iterator before, const QModelIndex& t).
Sourcepub unsafe fn is_detached(&self) -> bool
pub unsafe fn is_detached(&self) -> bool
Calls C++ function: bool QList<QModelIndex>::isDetached() const.
Sourcepub unsafe fn is_empty(&self) -> bool
pub unsafe fn is_empty(&self) -> bool
Calls C++ function: bool QList<QModelIndex>::isEmpty() const.
Calls C++ function: bool QList<QModelIndex>::isSharedWith(const QList<QModelIndex>& other) const.
Sourcepub unsafe fn last_mut(&self) -> Ref<QModelIndex>
pub unsafe fn last_mut(&self) -> Ref<QModelIndex>
Calls C++ function: QModelIndex& QList<QModelIndex>::last().
Sourcepub unsafe fn last(&self) -> Ref<QModelIndex>
pub unsafe fn last(&self) -> Ref<QModelIndex>
Calls C++ function: const QModelIndex& QList<QModelIndex>::last() const.
Sourcepub unsafe fn last_index_of_2a(
&self,
t: impl CastInto<Ref<QModelIndex>>,
from: c_int,
) -> c_int
pub unsafe fn last_index_of_2a( &self, t: impl CastInto<Ref<QModelIndex>>, from: c_int, ) -> c_int
Calls C++ function: int QList<QModelIndex>::lastIndexOf(const QModelIndex& t, int from = …) const.
Sourcepub unsafe fn last_index_of_1a(
&self,
t: impl CastInto<Ref<QModelIndex>>,
) -> c_int
pub unsafe fn last_index_of_1a( &self, t: impl CastInto<Ref<QModelIndex>>, ) -> c_int
Calls C++ function: int QList<QModelIndex>::lastIndexOf(const QModelIndex& t) const.
Sourcepub unsafe fn length(&self) -> c_int
pub unsafe fn length(&self) -> c_int
Calls C++ function: int QList<QModelIndex>::length() const.
Sourcepub unsafe fn mid_2a(
&self,
pos: c_int,
length: c_int,
) -> CppBox<QListOfQModelIndex>
pub unsafe fn mid_2a( &self, pos: c_int, length: c_int, ) -> CppBox<QListOfQModelIndex>
Calls C++ function: QList<QModelIndex> QList<QModelIndex>::mid(int pos, int length = …) const.
Sourcepub unsafe fn mid_1a(&self, pos: c_int) -> CppBox<QListOfQModelIndex>
pub unsafe fn mid_1a(&self, pos: c_int) -> CppBox<QListOfQModelIndex>
Calls C++ function: QList<QModelIndex> QList<QModelIndex>::mid(int pos) const.
Sourcepub unsafe fn move_(&self, from: c_int, to: c_int)
pub unsafe fn move_(&self, from: c_int, to: c_int)
Calls C++ function: void QList<QModelIndex>::move(int from, int to).
Sourcepub unsafe fn new() -> CppBox<QListOfQModelIndex>
pub unsafe fn new() -> CppBox<QListOfQModelIndex>
Calls C++ function: [constructor] void QList<QModelIndex>::QList().
Sourcepub unsafe fn new_copy(
l: impl CastInto<Ref<QListOfQModelIndex>>,
) -> CppBox<QListOfQModelIndex>
pub unsafe fn new_copy( l: impl CastInto<Ref<QListOfQModelIndex>>, ) -> CppBox<QListOfQModelIndex>
Calls C++ function: [constructor] void QList<QModelIndex>::QList(const QList<QModelIndex>& l).
Sourcepub unsafe fn prepend(&self, t: impl CastInto<Ref<QModelIndex>>)
pub unsafe fn prepend(&self, t: impl CastInto<Ref<QModelIndex>>)
Calls C++ function: void QList<QModelIndex>::prepend(const QModelIndex& t).
Sourcepub unsafe fn push_back(&self, t: impl CastInto<Ref<QModelIndex>>)
pub unsafe fn push_back(&self, t: impl CastInto<Ref<QModelIndex>>)
Calls C++ function: void QList<QModelIndex>::push_back(const QModelIndex& t).
Sourcepub unsafe fn push_front(&self, t: impl CastInto<Ref<QModelIndex>>)
pub unsafe fn push_front(&self, t: impl CastInto<Ref<QModelIndex>>)
Calls C++ function: void QList<QModelIndex>::push_front(const QModelIndex& t).
Sourcepub unsafe fn remove_all(&self, t: impl CastInto<Ref<QModelIndex>>) -> c_int
pub unsafe fn remove_all(&self, t: impl CastInto<Ref<QModelIndex>>) -> c_int
Calls C++ function: int QList<QModelIndex>::removeAll(const QModelIndex& t).
Sourcepub unsafe fn remove_at(&self, i: c_int)
pub unsafe fn remove_at(&self, i: c_int)
Calls C++ function: void QList<QModelIndex>::removeAt(int i).
Sourcepub unsafe fn remove_first(&self)
pub unsafe fn remove_first(&self)
Calls C++ function: void QList<QModelIndex>::removeFirst().
Sourcepub unsafe fn remove_last(&self)
pub unsafe fn remove_last(&self)
Calls C++ function: void QList<QModelIndex>::removeLast().
Sourcepub unsafe fn remove_one(&self, t: impl CastInto<Ref<QModelIndex>>) -> bool
pub unsafe fn remove_one(&self, t: impl CastInto<Ref<QModelIndex>>) -> bool
Calls C++ function: bool QList<QModelIndex>::removeOne(const QModelIndex& t).
Sourcepub unsafe fn replace(&self, i: c_int, t: impl CastInto<Ref<QModelIndex>>)
pub unsafe fn replace(&self, i: c_int, t: impl CastInto<Ref<QModelIndex>>)
Calls C++ function: void QList<QModelIndex>::replace(int i, const QModelIndex& t).
Sourcepub unsafe fn reserve(&self, size: c_int)
pub unsafe fn reserve(&self, size: c_int)
Calls C++ function: void QList<QModelIndex>::reserve(int size).
Sourcepub unsafe fn set_sharable(&self, sharable: bool)
pub unsafe fn set_sharable(&self, sharable: bool)
Calls C++ function: void QList<QModelIndex>::setSharable(bool sharable).
Sourcepub unsafe fn starts_with(&self, t: impl CastInto<Ref<QModelIndex>>) -> bool
pub unsafe fn starts_with(&self, t: impl CastInto<Ref<QModelIndex>>) -> bool
Calls C++ function: bool QList<QModelIndex>::startsWith(const QModelIndex& t) const.
Sourcepub unsafe fn swap_1a(&self, other: impl CastInto<Ref<QListOfQModelIndex>>)
pub unsafe fn swap_1a(&self, other: impl CastInto<Ref<QListOfQModelIndex>>)
Calls C++ function: void QList<QModelIndex>::swap(QList<QModelIndex>& other).
Sourcepub unsafe fn swap_2a(&self, i: c_int, j: c_int)
pub unsafe fn swap_2a(&self, i: c_int, j: c_int)
Calls C++ function: void QList<QModelIndex>::swap(int i, int j).
Sourcepub unsafe fn swap_items_at(&self, i: c_int, j: c_int)
pub unsafe fn swap_items_at(&self, i: c_int, j: c_int)
Calls C++ function: void QList<QModelIndex>::swapItemsAt(int i, int j).
Sourcepub unsafe fn take_at(&self, i: c_int) -> CppBox<QModelIndex>
pub unsafe fn take_at(&self, i: c_int) -> CppBox<QModelIndex>
Calls C++ function: QModelIndex QList<QModelIndex>::takeAt(int i).
Sourcepub unsafe fn take_first(&self) -> CppBox<QModelIndex>
pub unsafe fn take_first(&self) -> CppBox<QModelIndex>
Calls C++ function: QModelIndex QList<QModelIndex>::takeFirst().
Sourcepub unsafe fn take_last(&self) -> CppBox<QModelIndex>
pub unsafe fn take_last(&self) -> CppBox<QModelIndex>
Calls C++ function: QModelIndex QList<QModelIndex>::takeLast().
Sourcepub unsafe fn value_1a(&self, i: c_int) -> CppBox<QModelIndex>
pub unsafe fn value_1a(&self, i: c_int) -> CppBox<QModelIndex>
Calls C++ function: QModelIndex QList<QModelIndex>::value(int i) const.
Sourcepub unsafe fn value_2a(
&self,
i: c_int,
default_value: impl CastInto<Ref<QModelIndex>>,
) -> CppBox<QModelIndex>
pub unsafe fn value_2a( &self, i: c_int, default_value: impl CastInto<Ref<QModelIndex>>, ) -> CppBox<QModelIndex>
Calls C++ function: QModelIndex QList<QModelIndex>::value(int i, const QModelIndex& defaultValue) const.
Trait Implementations§
Source§impl Add<Ref<QListOfQModelIndex>> for &QListOfQModelIndex
impl Add<Ref<QListOfQModelIndex>> for &QListOfQModelIndex
Source§fn add(self, l: Ref<QListOfQModelIndex>) -> CppBox<QListOfQModelIndex>
fn add(self, l: Ref<QListOfQModelIndex>) -> CppBox<QListOfQModelIndex>
Calls C++ function: QList<QModelIndex> QList<QModelIndex>::operator+(const QList<QModelIndex>& l) const.
Source§type Output = CppBox<QListOfQModelIndex>
type Output = CppBox<QListOfQModelIndex>
+ operator.Source§impl Begin for QListOfQModelIndex
impl Begin for QListOfQModelIndex
Source§unsafe fn begin(&self) -> CppBox<ConstIterator>
unsafe fn begin(&self) -> CppBox<ConstIterator>
Calls C++ function: QList<QModelIndex>::const_iterator QList<QModelIndex>::begin() const.
Source§type Output = CppBox<ConstIterator>
type Output = CppBox<ConstIterator>
Source§impl BeginMut for QListOfQModelIndex
impl BeginMut for QListOfQModelIndex
Source§impl CppDeletable for QListOfQModelIndex
impl CppDeletable for QListOfQModelIndex
Source§impl End for QListOfQModelIndex
impl End for QListOfQModelIndex
Source§unsafe fn end(&self) -> CppBox<ConstIterator>
unsafe fn end(&self) -> CppBox<ConstIterator>
Calls C++ function: QList<QModelIndex>::const_iterator QList<QModelIndex>::end() const.
Source§type Output = CppBox<ConstIterator>
type Output = CppBox<ConstIterator>
Source§impl EndMut for QListOfQModelIndex
impl EndMut for QListOfQModelIndex
Source§impl Ge<Ref<QListOfQModelIndex>> for QListOfQModelIndex
impl Ge<Ref<QListOfQModelIndex>> for QListOfQModelIndex
Source§impl Gt<Ref<QListOfQModelIndex>> for QListOfQModelIndex
impl Gt<Ref<QListOfQModelIndex>> for QListOfQModelIndex
Source§impl Le<Ref<QListOfQModelIndex>> for QListOfQModelIndex
impl Le<Ref<QListOfQModelIndex>> for QListOfQModelIndex
Source§impl Lt<Ref<QListOfQModelIndex>> for QListOfQModelIndex
impl Lt<Ref<QListOfQModelIndex>> for QListOfQModelIndex
Source§impl PartialEq<Ref<QListOfQModelIndex>> for QListOfQModelIndex
impl PartialEq<Ref<QListOfQModelIndex>> for QListOfQModelIndex
Source§impl Shl<Ref<QListOfQModelIndex>> for &QListOfQModelIndex
impl Shl<Ref<QListOfQModelIndex>> for &QListOfQModelIndex
Source§fn shl(self, l: Ref<QListOfQModelIndex>) -> Ref<QListOfQModelIndex>
fn shl(self, l: Ref<QListOfQModelIndex>) -> Ref<QListOfQModelIndex>
Calls C++ function: QList<QModelIndex>& QList<QModelIndex>::operator<<(const QList<QModelIndex>& l).
Source§type Output = Ref<QListOfQModelIndex>
type Output = Ref<QListOfQModelIndex>
<< operator.Source§impl Shl<Ref<QModelIndex>> for &QListOfQModelIndex
impl Shl<Ref<QModelIndex>> for &QListOfQModelIndex
Source§fn shl(self, t: Ref<QModelIndex>) -> Ref<QListOfQModelIndex>
fn shl(self, t: Ref<QModelIndex>) -> Ref<QListOfQModelIndex>
Calls C++ function: QList<QModelIndex>& QList<QModelIndex>::operator<<(const QModelIndex& t).
Source§type Output = Ref<QListOfQModelIndex>
type Output = Ref<QListOfQModelIndex>
<< operator.