Skip to main content

QListOfQPersistentModelIndex

Struct QListOfQPersistentModelIndex 

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

C++ class: QList<QPersistentModelIndex>.

Implementations§

Source§

impl QListOfQPersistentModelIndex

Source

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

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

Source

pub unsafe fn add_assign_q_persistent_model_index( &self, t: impl CastInto<Ref<QPersistentModelIndex>>, ) -> Ref<QListOfQPersistentModelIndex>

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

Source

pub unsafe fn append_q_persistent_model_index( &self, t: impl CastInto<Ref<QPersistentModelIndex>>, )

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

Source

pub unsafe fn append_q_list_of_q_persistent_model_index( &self, t: impl CastInto<Ref<QListOfQPersistentModelIndex>>, )

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn clear(&self)

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn count_0a(&self) -> c_int

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

Source

pub unsafe fn detach(&self)

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

Source

pub unsafe fn detach_shared(&self)

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

Source

pub unsafe fn empty(&self) -> bool

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

Source

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

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

Source

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

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

Source

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

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

Source

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

Calls C++ function: QList<QPersistentModelIndex>::iterator QList<QPersistentModelIndex>::erase(QList<QPersistentModelIndex>::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<QPersistentModelIndex>::iterator QList<QPersistentModelIndex>::erase(QList<QPersistentModelIndex>::iterator first, QList<QPersistentModelIndex>::iterator last).

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn is_detached(&self) -> bool

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

Source

pub unsafe fn is_empty(&self) -> bool

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn length(&self) -> c_int

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

Source

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

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

Source

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

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

Source

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

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

Source

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

Calls C++ function: [constructor] void QList<QPersistentModelIndex>::QList().

Source

pub unsafe fn new_copy( l: impl CastInto<Ref<QListOfQPersistentModelIndex>>, ) -> CppBox<QListOfQPersistentModelIndex>

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

Source

pub unsafe fn pop_back(&self)

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

Source

pub unsafe fn pop_front(&self)

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn remove_first(&self)

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

Source

pub unsafe fn remove_last(&self)

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn size(&self) -> c_int

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Trait Implementations§

Source§

impl Add<Ref<QListOfQPersistentModelIndex>> for &QListOfQPersistentModelIndex

Source§

fn add( self, l: Ref<QListOfQPersistentModelIndex>, ) -> CppBox<QListOfQPersistentModelIndex>

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

Source§

type Output = CppBox<QListOfQPersistentModelIndex>

The resulting type after applying the + operator.
Source§

impl Begin for QListOfQPersistentModelIndex

Source§

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

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

Source§

type Output = CppBox<ConstIterator>

Output type.
Source§

impl BeginMut for QListOfQPersistentModelIndex

Source§

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

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

Source§

type Output = CppBox<Iterator>

Output type.
Source§

impl CppDeletable for QListOfQPersistentModelIndex

Source§

unsafe fn delete(&self)

Calls C++ function: [destructor] void QList<QPersistentModelIndex>::~QList().

Source§

impl End for QListOfQPersistentModelIndex

Source§

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

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

Source§

type Output = CppBox<ConstIterator>

Output type.
Source§

impl EndMut for QListOfQPersistentModelIndex

Source§

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

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

Source§

type Output = CppBox<Iterator>

Output type.
Source§

impl Ge<Ref<QListOfQPersistentModelIndex>> for QListOfQPersistentModelIndex

Source§

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

Calls C++ function: bool operator>=(const QList<QPersistentModelIndex>& lhs, const QList<QPersistentModelIndex>& rhs).

Source§

impl Gt<Ref<QListOfQPersistentModelIndex>> for QListOfQPersistentModelIndex

Source§

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

Calls C++ function: bool operator>(const QList<QPersistentModelIndex>& lhs, const QList<QPersistentModelIndex>& rhs).

Source§

impl Le<Ref<QListOfQPersistentModelIndex>> for QListOfQPersistentModelIndex

Source§

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

Calls C++ function: bool operator<=(const QList<QPersistentModelIndex>& lhs, const QList<QPersistentModelIndex>& rhs).

Source§

impl Lt<Ref<QListOfQPersistentModelIndex>> for QListOfQPersistentModelIndex

Source§

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

Calls C++ function: bool operator<(const QList<QPersistentModelIndex>& lhs, const QList<QPersistentModelIndex>& rhs).

Source§

impl PartialEq<Ref<QListOfQPersistentModelIndex>> for QListOfQPersistentModelIndex

Source§

fn eq(&self, l: &Ref<QListOfQPersistentModelIndex>) -> bool

Calls C++ function: bool QList<QPersistentModelIndex>::operator==(const QList<QPersistentModelIndex>& l) 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 Shl<Ref<QListOfQPersistentModelIndex>> for &QListOfQPersistentModelIndex

Source§

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

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

Source§

type Output = Ref<QListOfQPersistentModelIndex>

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

impl Shl<Ref<QPersistentModelIndex>> for &QListOfQPersistentModelIndex

Source§

fn shl(self, t: Ref<QPersistentModelIndex>) -> Ref<QListOfQPersistentModelIndex>

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

Source§

type Output = Ref<QListOfQPersistentModelIndex>

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

impl Size for QListOfQPersistentModelIndex

Source§

unsafe fn size(&self) -> usize

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