pub struct QVectorOfInt { /* private fields */ }Expand description
C++ class: QVector<int>.
Implementations§
Source§impl QVectorOfInt
impl QVectorOfInt
Sourcepub unsafe fn add_assign_q_vector_of_int(
&self,
l: impl CastInto<Ref<QVectorOfInt>>,
) -> Ref<QVectorOfInt>
pub unsafe fn add_assign_q_vector_of_int( &self, l: impl CastInto<Ref<QVectorOfInt>>, ) -> Ref<QVectorOfInt>
Calls C++ function: QVector<int>& QVector<int>::operator+=(const QVector<int>& l).
Sourcepub unsafe fn add_assign_int(&self, t: *const c_int) -> Ref<QVectorOfInt>
pub unsafe fn add_assign_int(&self, t: *const c_int) -> Ref<QVectorOfInt>
Calls C++ function: QVector<int>& QVector<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 QVector<int>::append(const int& t).
Sourcepub unsafe fn append_q_vector_of_int(&self, l: impl CastInto<Ref<QVectorOfInt>>)
pub unsafe fn append_q_vector_of_int(&self, l: impl CastInto<Ref<QVectorOfInt>>)
Calls C++ function: void QVector<int>::append(const QVector<int>& l).
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& QVector<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& QVector<int>::back() const.
Sourcepub unsafe fn const_data(&self) -> *const c_int
pub unsafe fn const_data(&self) -> *const c_int
Calls C++ function: const int* QVector<int>::constData() const.
Sourcepub unsafe fn const_first(&self) -> *const c_int
pub unsafe fn const_first(&self) -> *const c_int
Calls C++ function: const int& QVector<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& QVector<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 QVector<int>::contains(const int& t) const.
Sourcepub unsafe fn copy_from(
&self,
v: impl CastInto<Ref<QVectorOfInt>>,
) -> Ref<QVectorOfInt>
pub unsafe fn copy_from( &self, v: impl CastInto<Ref<QVectorOfInt>>, ) -> Ref<QVectorOfInt>
Calls C++ function: QVector<int>& QVector<int>::operator=(const QVector<int>& v).
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 QVector<int>::count(const int& t) const.
Sourcepub unsafe fn data(&self) -> *const c_int
pub unsafe fn data(&self) -> *const c_int
Calls C++ function: const int* QVector<int>::data() 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 QVector<int>::endsWith(const int& t) const.
Sourcepub unsafe fn fill_2a(&self, t: *const c_int, size: c_int) -> Ref<QVectorOfInt>
pub unsafe fn fill_2a(&self, t: *const c_int, size: c_int) -> Ref<QVectorOfInt>
Calls C++ function: QVector<int>& QVector<int>::fill(const int& t, int size = …).
Sourcepub unsafe fn fill_1a(&self, t: *const c_int) -> Ref<QVectorOfInt>
pub unsafe fn fill_1a(&self, t: *const c_int) -> Ref<QVectorOfInt>
Calls C++ function: QVector<int>& QVector<int>::fill(const int& t).
Sourcepub unsafe fn first(&self) -> *const c_int
pub unsafe fn first(&self) -> *const c_int
Calls C++ function: const int& QVector<int>::first() const.
Sourcepub unsafe fn from_list(
list: impl CastInto<Ref<QListOfInt>>,
) -> CppBox<QVectorOfInt>
pub unsafe fn from_list( list: impl CastInto<Ref<QListOfInt>>, ) -> CppBox<QVectorOfInt>
Calls C++ function: static QVector<int> QVector<int>::fromList(const QList<int>& list).
Sourcepub unsafe fn front(&self) -> *const c_int
pub unsafe fn front(&self) -> *const c_int
Calls C++ function: const int& QVector<int>::front() 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& QVector<int>::operator[](int i).
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& QVector<int>::operator[](int i) const.
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 QVector<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 QVector<int>::indexOf(const int& t) const.
Sourcepub unsafe fn insert_2a(&self, i: c_int, t: *const c_int)
pub unsafe fn insert_2a(&self, i: c_int, t: *const c_int)
Calls C++ function: void QVector<int>::insert(int i, const int& t).
Sourcepub unsafe fn insert_3a(&self, i: c_int, n: c_int, t: *const c_int)
pub unsafe fn insert_3a(&self, i: c_int, n: c_int, t: *const c_int)
Calls C++ function: void QVector<int>::insert(int i, int n, const int& t).
Sourcepub unsafe fn is_detached(&self) -> bool
pub unsafe fn is_detached(&self) -> bool
Calls C++ function: bool QVector<int>::isDetached() const.
Calls C++ function: bool QVector<int>::isSharedWith(const QVector<int>& other) const.
Sourcepub unsafe fn last(&self) -> *const c_int
pub unsafe fn last(&self) -> *const c_int
Calls C++ function: const int& QVector<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 QVector<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 QVector<int>::lastIndexOf(const int& t) const.
Sourcepub unsafe fn mid_2a(&self, pos: c_int, len: c_int) -> CppBox<QVectorOfInt>
pub unsafe fn mid_2a(&self, pos: c_int, len: c_int) -> CppBox<QVectorOfInt>
Calls C++ function: QVector<int> QVector<int>::mid(int pos, int len = …) const.
Sourcepub unsafe fn mid_1a(&self, pos: c_int) -> CppBox<QVectorOfInt>
pub unsafe fn mid_1a(&self, pos: c_int) -> CppBox<QVectorOfInt>
Calls C++ function: QVector<int> QVector<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 QVector<int>::move(int from, int to).
Sourcepub unsafe fn new_0a() -> CppBox<QVectorOfInt>
pub unsafe fn new_0a() -> CppBox<QVectorOfInt>
Calls C++ function: [constructor] void QVector<int>::QVector().
Sourcepub unsafe fn new_1a(size: c_int) -> CppBox<QVectorOfInt>
pub unsafe fn new_1a(size: c_int) -> CppBox<QVectorOfInt>
Calls C++ function: [constructor] void QVector<int>::QVector(int size).
Sourcepub unsafe fn new_2a(size: c_int, t: *const c_int) -> CppBox<QVectorOfInt>
pub unsafe fn new_2a(size: c_int, t: *const c_int) -> CppBox<QVectorOfInt>
Calls C++ function: [constructor] void QVector<int>::QVector(int size, const int& t).
Sourcepub unsafe fn new_copy(
v: impl CastInto<Ref<QVectorOfInt>>,
) -> CppBox<QVectorOfInt>
pub unsafe fn new_copy( v: impl CastInto<Ref<QVectorOfInt>>, ) -> CppBox<QVectorOfInt>
Calls C++ function: [constructor] void QVector<int>::QVector(const QVector<int>& v).
Sourcepub unsafe fn prepend(&self, t: *const c_int)
pub unsafe fn prepend(&self, t: *const c_int)
Calls C++ function: void QVector<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 QVector<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 QVector<int>::push_front(const int& t).
Sourcepub unsafe fn remove_2a(&self, i: c_int, n: c_int)
pub unsafe fn remove_2a(&self, i: c_int, n: c_int)
Calls C++ function: void QVector<int>::remove(int i, int n).
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 QVector<int>::removeAll(const int& t).
Sourcepub unsafe fn remove_at(&self, i: c_int)
pub unsafe fn remove_at(&self, i: c_int)
Calls C++ function: void QVector<int>::removeAt(int i).
Sourcepub unsafe fn remove_first(&self)
pub unsafe fn remove_first(&self)
Calls C++ function: void QVector<int>::removeFirst().
Sourcepub unsafe fn remove_last(&self)
pub unsafe fn remove_last(&self)
Calls C++ function: void QVector<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 QVector<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 QVector<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 QVector<int>::reserve(int size).
Sourcepub unsafe fn resize(&self, size: c_int)
pub unsafe fn resize(&self, size: c_int)
Calls C++ function: void QVector<int>::resize(int size).
Sourcepub unsafe fn set_sharable(&self, sharable: bool)
pub unsafe fn set_sharable(&self, sharable: bool)
Calls C++ function: void QVector<int>::setSharable(bool sharable).
Sourcepub unsafe fn shrink_to_fit(&self)
pub unsafe fn shrink_to_fit(&self)
Calls C++ function: void QVector<int>::shrink_to_fit().
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 QVector<int>::startsWith(const int& t) const.
Sourcepub unsafe fn swap(&self, other: impl CastInto<Ref<QVectorOfInt>>)
pub unsafe fn swap(&self, other: impl CastInto<Ref<QVectorOfInt>>)
Calls C++ function: void QVector<int>::swap(QVector<int>& other).
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 QVector<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 QVector<int>::takeAt(int i).
Sourcepub unsafe fn take_first(&self) -> c_int
pub unsafe fn take_first(&self) -> c_int
Calls C++ function: int QVector<int>::takeFirst().
Sourcepub unsafe fn to_list(&self) -> CppBox<QListOfInt>
pub unsafe fn to_list(&self) -> CppBox<QListOfInt>
Calls C++ function: QList<int> QVector<int>::toList() const.
Trait Implementations§
Source§impl Add<Ref<QVectorOfInt>> for &QVectorOfInt
impl Add<Ref<QVectorOfInt>> for &QVectorOfInt
Source§fn add(self, l: Ref<QVectorOfInt>) -> CppBox<QVectorOfInt>
fn add(self, l: Ref<QVectorOfInt>) -> CppBox<QVectorOfInt>
Calls C++ function: QVector<int> QVector<int>::operator+(const QVector<int>& l) const.
Source§type Output = CppBox<QVectorOfInt>
type Output = CppBox<QVectorOfInt>
+ operator.Source§impl CppDeletable for QVectorOfInt
impl CppDeletable for QVectorOfInt
Source§impl Data for QVectorOfInt
impl Data for QVectorOfInt
Source§impl DataMut for QVectorOfInt
impl DataMut for QVectorOfInt
Source§impl Ge<Ref<QVectorOfInt>> for QVectorOfInt
impl Ge<Ref<QVectorOfInt>> for QVectorOfInt
Source§impl Gt<Ref<QVectorOfInt>> for QVectorOfInt
impl Gt<Ref<QVectorOfInt>> for QVectorOfInt
Source§impl Le<Ref<QVectorOfInt>> for QVectorOfInt
impl Le<Ref<QVectorOfInt>> for QVectorOfInt
Source§impl Lt<Ref<QVectorOfInt>> for QVectorOfInt
impl Lt<Ref<QVectorOfInt>> for QVectorOfInt
Source§impl PartialEq<Ref<QVectorOfInt>> for QVectorOfInt
impl PartialEq<Ref<QVectorOfInt>> for QVectorOfInt
Source§impl Shl<Ref<QVectorOfInt>> for &QVectorOfInt
impl Shl<Ref<QVectorOfInt>> for &QVectorOfInt
Source§fn shl(self, l: Ref<QVectorOfInt>) -> Ref<QVectorOfInt>
fn shl(self, l: Ref<QVectorOfInt>) -> Ref<QVectorOfInt>
Calls C++ function: QVector<int>& QVector<int>::operator<<(const QVector<int>& l).
Source§type Output = Ref<QVectorOfInt>
type Output = Ref<QVectorOfInt>
<< operator.