pub struct QListOfInt { /* private fields */ }Expand description
C++ class: QList<int>.
Implementations§
Source§impl QListOfInt
impl QListOfInt
Sourcepub unsafe fn add_assign_q_list_of_int(
&self,
l: impl CastInto<Ref<QListOfInt>>,
) -> Ref<QListOfInt>
pub unsafe fn add_assign_q_list_of_int( &self, l: impl CastInto<Ref<QListOfInt>>, ) -> Ref<QListOfInt>
Calls C++ function: QList<int>& QList<int>::operator+=(const QList<int>& l).
Sourcepub unsafe fn add_assign_int(&self, t: *const c_int) -> Ref<QListOfInt>
pub unsafe fn add_assign_int(&self, t: *const c_int) -> Ref<QListOfInt>
Calls C++ function: QList<int>& QList<int>::operator+=(const int& t).
Sourcepub unsafe fn append_int(&self, t: *const c_int)
pub unsafe fn append_int(&self, t: *const c_int)
Calls C++ function: void QList<int>::append(const int& t).
Sourcepub unsafe fn append_q_list_of_int(&self, t: impl CastInto<Ref<QListOfInt>>)
pub unsafe fn append_q_list_of_int(&self, t: impl CastInto<Ref<QListOfInt>>)
Calls C++ function: void QList<int>::append(const QList<int>& t).
Sourcepub unsafe fn at(&self, i: c_int) -> *const c_int
pub unsafe fn at(&self, i: c_int) -> *const c_int
Calls C++ function: const int& QList<int>::at(int i) const.
Sourcepub unsafe fn back(&self) -> *const c_int
pub unsafe fn back(&self) -> *const c_int
Calls C++ function: const int& QList<int>::back() const.
Sourcepub unsafe fn begin_mut(&self) -> CppBox<Iterator>
pub unsafe fn begin_mut(&self) -> CppBox<Iterator>
Calls C++ function: QList<int>::iterator QList<int>::begin().
Sourcepub unsafe fn begin(&self) -> CppBox<ConstIterator>
pub unsafe fn begin(&self) -> CppBox<ConstIterator>
Calls C++ function: QList<int>::const_iterator QList<int>::begin() const.
Sourcepub unsafe fn cbegin(&self) -> CppBox<ConstIterator>
pub unsafe fn cbegin(&self) -> CppBox<ConstIterator>
Calls C++ function: QList<int>::const_iterator QList<int>::cbegin() const.
Sourcepub unsafe fn cend(&self) -> CppBox<ConstIterator>
pub unsafe fn cend(&self) -> CppBox<ConstIterator>
Calls C++ function: QList<int>::const_iterator QList<int>::cend() const.
Sourcepub unsafe fn const_begin(&self) -> CppBox<ConstIterator>
pub unsafe fn const_begin(&self) -> CppBox<ConstIterator>
Calls C++ function: QList<int>::const_iterator QList<int>::constBegin() const.
Sourcepub unsafe fn const_end(&self) -> CppBox<ConstIterator>
pub unsafe fn const_end(&self) -> CppBox<ConstIterator>
Calls C++ function: QList<int>::const_iterator QList<int>::constEnd() const.
Sourcepub unsafe fn const_first(&self) -> *const c_int
pub unsafe fn const_first(&self) -> *const c_int
Calls C++ function: const int& QList<int>::constFirst() const.
Sourcepub unsafe fn const_last(&self) -> *const c_int
pub unsafe fn const_last(&self) -> *const c_int
Calls C++ function: const int& QList<int>::constLast() const.
Sourcepub unsafe fn contains(&self, t: *const c_int) -> bool
pub unsafe fn contains(&self, t: *const c_int) -> bool
Calls C++ function: bool QList<int>::contains(const int& t) const.
Sourcepub unsafe fn copy_from(
&self,
l: impl CastInto<Ref<QListOfInt>>,
) -> Ref<QListOfInt>
pub unsafe fn copy_from( &self, l: impl CastInto<Ref<QListOfInt>>, ) -> Ref<QListOfInt>
Calls C++ function: QList<int>& QList<int>::operator=(const QList<int>& l).
Sourcepub unsafe fn count_1a(&self, t: *const c_int) -> c_int
pub unsafe fn count_1a(&self, t: *const c_int) -> c_int
Calls C++ function: int QList<int>::count(const int& t) const.
Calls C++ function: void QList<int>::detachShared().
Sourcepub unsafe fn end_mut(&self) -> CppBox<Iterator>
pub unsafe fn end_mut(&self) -> CppBox<Iterator>
Calls C++ function: QList<int>::iterator QList<int>::end().
Sourcepub unsafe fn end(&self) -> CppBox<ConstIterator>
pub unsafe fn end(&self) -> CppBox<ConstIterator>
Calls C++ function: QList<int>::const_iterator QList<int>::end() const.
Sourcepub unsafe fn ends_with(&self, t: *const c_int) -> bool
pub unsafe fn ends_with(&self, t: *const c_int) -> bool
Calls C++ function: bool QList<int>::endsWith(const int& 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<int>::iterator QList<int>::erase(QList<int>::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<int>::iterator QList<int>::erase(QList<int>::iterator first, QList<int>::iterator last).
Sourcepub unsafe fn first(&self) -> *const c_int
pub unsafe fn first(&self) -> *const c_int
Calls C++ function: const int& QList<int>::first() const.
Sourcepub unsafe fn from_vector(
vector: impl CastInto<Ref<QVectorOfInt>>,
) -> CppBox<QListOfInt>
pub unsafe fn from_vector( vector: impl CastInto<Ref<QVectorOfInt>>, ) -> CppBox<QListOfInt>
Calls C++ function: static QList<int> QList<int>::fromVector(const QVector<int>& vector).
Sourcepub unsafe fn front(&self) -> *const c_int
pub unsafe fn front(&self) -> *const c_int
Calls C++ function: const int& QList<int>::front() const.
Sourcepub unsafe fn index(&self, i: c_int) -> *const c_int
pub unsafe fn index(&self, i: c_int) -> *const c_int
Calls C++ function: const int& QList<int>::operator[](int i) const.
Sourcepub unsafe fn index_mut(&self, i: c_int) -> *mut c_int
pub unsafe fn index_mut(&self, i: c_int) -> *mut c_int
Calls C++ function: int& QList<int>::operator[](int i).
Sourcepub unsafe fn index_of_2a(&self, t: *const c_int, from: c_int) -> c_int
pub unsafe fn index_of_2a(&self, t: *const c_int, from: c_int) -> c_int
Calls C++ function: int QList<int>::indexOf(const int& t, int from = …) const.
Sourcepub unsafe fn index_of_1a(&self, t: *const c_int) -> c_int
pub unsafe fn index_of_1a(&self, t: *const c_int) -> c_int
Calls C++ function: int QList<int>::indexOf(const int& t) const.
Sourcepub unsafe fn insert_int_int(&self, i: c_int, t: *const c_int)
pub unsafe fn insert_int_int(&self, i: c_int, t: *const c_int)
Calls C++ function: void QList<int>::insert(int i, const int& t).
Sourcepub unsafe fn insert_iterator_int(
&self,
before: impl CastInto<Ref<Iterator>>,
t: *const c_int,
) -> CppBox<Iterator>
pub unsafe fn insert_iterator_int( &self, before: impl CastInto<Ref<Iterator>>, t: *const c_int, ) -> CppBox<Iterator>
Calls C++ function: QList<int>::iterator QList<int>::insert(QList<int>::iterator before, const int& t).
Sourcepub unsafe fn is_detached(&self) -> bool
pub unsafe fn is_detached(&self) -> bool
Calls C++ function: bool QList<int>::isDetached() const.
Calls C++ function: bool QList<int>::isSharedWith(const QList<int>& other) const.
Sourcepub unsafe fn last(&self) -> *const c_int
pub unsafe fn last(&self) -> *const c_int
Calls C++ function: const int& QList<int>::last() const.
Sourcepub unsafe fn last_index_of_2a(&self, t: *const c_int, from: c_int) -> c_int
pub unsafe fn last_index_of_2a(&self, t: *const c_int, from: c_int) -> c_int
Calls C++ function: int QList<int>::lastIndexOf(const int& t, int from = …) const.
Sourcepub unsafe fn last_index_of_1a(&self, t: *const c_int) -> c_int
pub unsafe fn last_index_of_1a(&self, t: *const c_int) -> c_int
Calls C++ function: int QList<int>::lastIndexOf(const int& t) const.
Sourcepub unsafe fn mid_2a(&self, pos: c_int, length: c_int) -> CppBox<QListOfInt>
pub unsafe fn mid_2a(&self, pos: c_int, length: c_int) -> CppBox<QListOfInt>
Calls C++ function: QList<int> QList<int>::mid(int pos, int length = …) const.
Sourcepub unsafe fn mid_1a(&self, pos: c_int) -> CppBox<QListOfInt>
pub unsafe fn mid_1a(&self, pos: c_int) -> CppBox<QListOfInt>
Calls C++ function: QList<int> QList<int>::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<int>::move(int from, int to).
Sourcepub unsafe fn new() -> CppBox<QListOfInt>
pub unsafe fn new() -> CppBox<QListOfInt>
Calls C++ function: [constructor] void QList<int>::QList().
Sourcepub unsafe fn new_copy(l: impl CastInto<Ref<QListOfInt>>) -> CppBox<QListOfInt>
pub unsafe fn new_copy(l: impl CastInto<Ref<QListOfInt>>) -> CppBox<QListOfInt>
Calls C++ function: [constructor] void QList<int>::QList(const QList<int>& l).
Sourcepub unsafe fn prepend(&self, t: *const c_int)
pub unsafe fn prepend(&self, t: *const c_int)
Calls C++ function: void QList<int>::prepend(const int& t).
Sourcepub unsafe fn push_back(&self, t: *const c_int)
pub unsafe fn push_back(&self, t: *const c_int)
Calls C++ function: void QList<int>::push_back(const int& t).
Sourcepub unsafe fn push_front(&self, t: *const c_int)
pub unsafe fn push_front(&self, t: *const c_int)
Calls C++ function: void QList<int>::push_front(const int& t).
Sourcepub unsafe fn remove_all(&self, t: *const c_int) -> c_int
pub unsafe fn remove_all(&self, t: *const c_int) -> c_int
Calls C++ function: int QList<int>::removeAll(const int& t).
Sourcepub unsafe fn remove_first(&self)
pub unsafe fn remove_first(&self)
Calls C++ function: void QList<int>::removeFirst().
Sourcepub unsafe fn remove_last(&self)
pub unsafe fn remove_last(&self)
Calls C++ function: void QList<int>::removeLast().
Sourcepub unsafe fn remove_one(&self, t: *const c_int) -> bool
pub unsafe fn remove_one(&self, t: *const c_int) -> bool
Calls C++ function: bool QList<int>::removeOne(const int& t).
Sourcepub unsafe fn replace(&self, i: c_int, t: *const c_int)
pub unsafe fn replace(&self, i: c_int, t: *const c_int)
Calls C++ function: void QList<int>::replace(int i, const int& t).
Sourcepub unsafe fn reserve(&self, size: c_int)
pub unsafe fn reserve(&self, size: c_int)
Calls C++ function: void QList<int>::reserve(int size).
Sourcepub unsafe fn set_sharable(&self, sharable: bool)
pub unsafe fn set_sharable(&self, sharable: bool)
Calls C++ function: void QList<int>::setSharable(bool sharable).
Sourcepub unsafe fn starts_with(&self, t: *const c_int) -> bool
pub unsafe fn starts_with(&self, t: *const c_int) -> bool
Calls C++ function: bool QList<int>::startsWith(const int& t) const.
Sourcepub unsafe fn swap_1a(&self, other: impl CastInto<Ref<QListOfInt>>)
pub unsafe fn swap_1a(&self, other: impl CastInto<Ref<QListOfInt>>)
Calls C++ function: void QList<int>::swap(QList<int>& 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<int>::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<int>::swapItemsAt(int i, int j).
Sourcepub unsafe fn take_at(&self, i: c_int) -> c_int
pub unsafe fn take_at(&self, i: c_int) -> c_int
Calls C++ function: int QList<int>::takeAt(int i).
Sourcepub unsafe fn take_first(&self) -> c_int
pub unsafe fn take_first(&self) -> c_int
Calls C++ function: int QList<int>::takeFirst().
Sourcepub unsafe fn to_vector(&self) -> CppBox<QVectorOfInt>
pub unsafe fn to_vector(&self) -> CppBox<QVectorOfInt>
Calls C++ function: QVector<int> QList<int>::toVector() const.
Trait Implementations§
Source§impl Add<Ref<QListOfInt>> for &QListOfInt
impl Add<Ref<QListOfInt>> for &QListOfInt
Source§fn add(self, l: Ref<QListOfInt>) -> CppBox<QListOfInt>
fn add(self, l: Ref<QListOfInt>) -> CppBox<QListOfInt>
Calls C++ function: QList<int> QList<int>::operator+(const QList<int>& l) const.
Source§type Output = CppBox<QListOfInt>
type Output = CppBox<QListOfInt>
+ operator.Source§impl Begin for QListOfInt
impl Begin for QListOfInt
Source§unsafe fn begin(&self) -> CppBox<ConstIterator>
unsafe fn begin(&self) -> CppBox<ConstIterator>
Calls C++ function: QList<int>::const_iterator QList<int>::begin() const.
Source§type Output = CppBox<ConstIterator>
type Output = CppBox<ConstIterator>
Source§impl BeginMut for QListOfInt
impl BeginMut for QListOfInt
Source§impl CppDeletable for QListOfInt
impl CppDeletable for QListOfInt
Source§impl End for QListOfInt
impl End for QListOfInt
Source§unsafe fn end(&self) -> CppBox<ConstIterator>
unsafe fn end(&self) -> CppBox<ConstIterator>
Calls C++ function: QList<int>::const_iterator QList<int>::end() const.
Source§type Output = CppBox<ConstIterator>
type Output = CppBox<ConstIterator>
Source§impl EndMut for QListOfInt
impl EndMut for QListOfInt
Source§impl Ge<Ref<QListOfInt>> for QListOfInt
impl Ge<Ref<QListOfInt>> for QListOfInt
Source§impl Gt<Ref<QListOfInt>> for QListOfInt
impl Gt<Ref<QListOfInt>> for QListOfInt
Source§impl Le<Ref<QListOfInt>> for QListOfInt
impl Le<Ref<QListOfInt>> for QListOfInt
Source§impl Lt<Ref<QListOfInt>> for QListOfInt
impl Lt<Ref<QListOfInt>> for QListOfInt
Source§impl PartialEq<Ref<QListOfInt>> for QListOfInt
impl PartialEq<Ref<QListOfInt>> for QListOfInt
Source§impl Shl<Ref<QListOfInt>> for &QListOfInt
impl Shl<Ref<QListOfInt>> for &QListOfInt
Source§fn shl(self, l: Ref<QListOfInt>) -> Ref<QListOfInt>
fn shl(self, l: Ref<QListOfInt>) -> Ref<QListOfInt>
Calls C++ function: QList<int>& QList<int>::operator<<(const QList<int>& l).
Source§type Output = Ref<QListOfInt>
type Output = Ref<QListOfInt>
<< operator.