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