pub struct QVectorOfQRect { /* private fields */ }Expand description
C++ class: QVector<QRect>.
Implementations§
Source§impl QVectorOfQRect
impl QVectorOfQRect
Sourcepub unsafe fn add_assign_q_vector_of_q_rect(
&self,
l: impl CastInto<Ref<QVectorOfQRect>>,
) -> Ref<QVectorOfQRect>
pub unsafe fn add_assign_q_vector_of_q_rect( &self, l: impl CastInto<Ref<QVectorOfQRect>>, ) -> Ref<QVectorOfQRect>
Calls C++ function: QVector<QRect>& QVector<QRect>::operator+=(const QVector<QRect>& l).
Sourcepub unsafe fn add_assign_q_rect(
&self,
t: impl CastInto<Ref<QRect>>,
) -> Ref<QVectorOfQRect>
pub unsafe fn add_assign_q_rect( &self, t: impl CastInto<Ref<QRect>>, ) -> Ref<QVectorOfQRect>
Calls C++ function: QVector<QRect>& QVector<QRect>::operator+=(const QRect& t).
Sourcepub unsafe fn append_q_rect(&self, t: impl CastInto<Ref<QRect>>)
pub unsafe fn append_q_rect(&self, t: impl CastInto<Ref<QRect>>)
Calls C++ function: void QVector<QRect>::append(const QRect& t).
Sourcepub unsafe fn append_q_vector_of_q_rect(
&self,
l: impl CastInto<Ref<QVectorOfQRect>>,
)
pub unsafe fn append_q_vector_of_q_rect( &self, l: impl CastInto<Ref<QVectorOfQRect>>, )
Calls C++ function: void QVector<QRect>::append(const QVector<QRect>& l).
Sourcepub unsafe fn at(&self, i: c_int) -> Ref<QRect>
pub unsafe fn at(&self, i: c_int) -> Ref<QRect>
Calls C++ function: const QRect& QVector<QRect>::at(int i) const.
Sourcepub unsafe fn back(&self) -> Ref<QRect>
pub unsafe fn back(&self) -> Ref<QRect>
Calls C++ function: const QRect& QVector<QRect>::back() const.
Sourcepub unsafe fn capacity(&self) -> c_int
pub unsafe fn capacity(&self) -> c_int
Calls C++ function: int QVector<QRect>::capacity() const.
Sourcepub unsafe fn const_data(&self) -> Ptr<QRect>
pub unsafe fn const_data(&self) -> Ptr<QRect>
Calls C++ function: const QRect* QVector<QRect>::constData() const.
Sourcepub unsafe fn const_first(&self) -> Ref<QRect>
pub unsafe fn const_first(&self) -> Ref<QRect>
Calls C++ function: const QRect& QVector<QRect>::constFirst() const.
Sourcepub unsafe fn const_last(&self) -> Ref<QRect>
pub unsafe fn const_last(&self) -> Ref<QRect>
Calls C++ function: const QRect& QVector<QRect>::constLast() const.
Sourcepub unsafe fn contains(&self, t: impl CastInto<Ref<QRect>>) -> bool
pub unsafe fn contains(&self, t: impl CastInto<Ref<QRect>>) -> bool
Calls C++ function: bool QVector<QRect>::contains(const QRect& t) const.
Sourcepub unsafe fn copy_from(
&self,
v: impl CastInto<Ref<QVectorOfQRect>>,
) -> Ref<QVectorOfQRect>
pub unsafe fn copy_from( &self, v: impl CastInto<Ref<QVectorOfQRect>>, ) -> Ref<QVectorOfQRect>
Calls C++ function: QVector<QRect>& QVector<QRect>::operator=(const QVector<QRect>& v).
Sourcepub unsafe fn count_1a(&self, t: impl CastInto<Ref<QRect>>) -> c_int
pub unsafe fn count_1a(&self, t: impl CastInto<Ref<QRect>>) -> c_int
Calls C++ function: int QVector<QRect>::count(const QRect& t) const.
Sourcepub unsafe fn data(&self) -> Ptr<QRect>
pub unsafe fn data(&self) -> Ptr<QRect>
Calls C++ function: const QRect* QVector<QRect>::data() const.
Sourcepub unsafe fn ends_with(&self, t: impl CastInto<Ref<QRect>>) -> bool
pub unsafe fn ends_with(&self, t: impl CastInto<Ref<QRect>>) -> bool
Calls C++ function: bool QVector<QRect>::endsWith(const QRect& t) const.
Sourcepub unsafe fn fill_2a(
&self,
t: impl CastInto<Ref<QRect>>,
size: c_int,
) -> Ref<QVectorOfQRect>
pub unsafe fn fill_2a( &self, t: impl CastInto<Ref<QRect>>, size: c_int, ) -> Ref<QVectorOfQRect>
Calls C++ function: QVector<QRect>& QVector<QRect>::fill(const QRect& t, int size = …).
Sourcepub unsafe fn fill_1a(
&self,
t: impl CastInto<Ref<QRect>>,
) -> Ref<QVectorOfQRect>
pub unsafe fn fill_1a( &self, t: impl CastInto<Ref<QRect>>, ) -> Ref<QVectorOfQRect>
Calls C++ function: QVector<QRect>& QVector<QRect>::fill(const QRect& t).
Sourcepub unsafe fn first_mut(&self) -> Ref<QRect>
pub unsafe fn first_mut(&self) -> Ref<QRect>
Calls C++ function: QRect& QVector<QRect>::first().
Sourcepub unsafe fn first(&self) -> Ref<QRect>
pub unsafe fn first(&self) -> Ref<QRect>
Calls C++ function: const QRect& QVector<QRect>::first() const.
Sourcepub unsafe fn front_mut(&self) -> Ref<QRect>
pub unsafe fn front_mut(&self) -> Ref<QRect>
Calls C++ function: QRect& QVector<QRect>::front().
Sourcepub unsafe fn front(&self) -> Ref<QRect>
pub unsafe fn front(&self) -> Ref<QRect>
Calls C++ function: const QRect& QVector<QRect>::front() const.
Sourcepub unsafe fn index_mut(&self, i: c_int) -> Ref<QRect>
pub unsafe fn index_mut(&self, i: c_int) -> Ref<QRect>
Calls C++ function: QRect& QVector<QRect>::operator[](int i).
Sourcepub unsafe fn index(&self, i: c_int) -> Ref<QRect>
pub unsafe fn index(&self, i: c_int) -> Ref<QRect>
Calls C++ function: const QRect& QVector<QRect>::operator[](int i) const.
Sourcepub unsafe fn index_of_2a(
&self,
t: impl CastInto<Ref<QRect>>,
from: c_int,
) -> c_int
pub unsafe fn index_of_2a( &self, t: impl CastInto<Ref<QRect>>, from: c_int, ) -> c_int
Calls C++ function: int QVector<QRect>::indexOf(const QRect& t, int from = …) const.
Sourcepub unsafe fn index_of_1a(&self, t: impl CastInto<Ref<QRect>>) -> c_int
pub unsafe fn index_of_1a(&self, t: impl CastInto<Ref<QRect>>) -> c_int
Calls C++ function: int QVector<QRect>::indexOf(const QRect& t) const.
Sourcepub unsafe fn insert_2a(&self, i: c_int, t: impl CastInto<Ref<QRect>>)
pub unsafe fn insert_2a(&self, i: c_int, t: impl CastInto<Ref<QRect>>)
Calls C++ function: void QVector<QRect>::insert(int i, const QRect& t).
Sourcepub unsafe fn insert_3a(&self, i: c_int, n: c_int, t: impl CastInto<Ref<QRect>>)
pub unsafe fn insert_3a(&self, i: c_int, n: c_int, t: impl CastInto<Ref<QRect>>)
Calls C++ function: void QVector<QRect>::insert(int i, int n, const QRect& t).
Sourcepub unsafe fn is_detached(&self) -> bool
pub unsafe fn is_detached(&self) -> bool
Calls C++ function: bool QVector<QRect>::isDetached() const.
Sourcepub unsafe fn is_empty(&self) -> bool
pub unsafe fn is_empty(&self) -> bool
Calls C++ function: bool QVector<QRect>::isEmpty() const.
Calls C++ function: bool QVector<QRect>::isSharedWith(const QVector<QRect>& other) const.
Sourcepub unsafe fn last(&self) -> Ref<QRect>
pub unsafe fn last(&self) -> Ref<QRect>
Calls C++ function: const QRect& QVector<QRect>::last() const.
Sourcepub unsafe fn last_index_of_2a(
&self,
t: impl CastInto<Ref<QRect>>,
from: c_int,
) -> c_int
pub unsafe fn last_index_of_2a( &self, t: impl CastInto<Ref<QRect>>, from: c_int, ) -> c_int
Calls C++ function: int QVector<QRect>::lastIndexOf(const QRect& t, int from = …) const.
Sourcepub unsafe fn last_index_of_1a(&self, t: impl CastInto<Ref<QRect>>) -> c_int
pub unsafe fn last_index_of_1a(&self, t: impl CastInto<Ref<QRect>>) -> c_int
Calls C++ function: int QVector<QRect>::lastIndexOf(const QRect& t) const.
Sourcepub unsafe fn mid_2a(&self, pos: c_int, len: c_int) -> CppBox<QVectorOfQRect>
pub unsafe fn mid_2a(&self, pos: c_int, len: c_int) -> CppBox<QVectorOfQRect>
Calls C++ function: QVector<QRect> QVector<QRect>::mid(int pos, int len = …) const.
Sourcepub unsafe fn mid_1a(&self, pos: c_int) -> CppBox<QVectorOfQRect>
pub unsafe fn mid_1a(&self, pos: c_int) -> CppBox<QVectorOfQRect>
Calls C++ function: QVector<QRect> QVector<QRect>::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<QRect>::move(int from, int to).
Sourcepub unsafe fn new_0a() -> CppBox<QVectorOfQRect>
pub unsafe fn new_0a() -> CppBox<QVectorOfQRect>
Calls C++ function: [constructor] void QVector<QRect>::QVector().
Sourcepub unsafe fn new_1a(size: c_int) -> CppBox<QVectorOfQRect>
pub unsafe fn new_1a(size: c_int) -> CppBox<QVectorOfQRect>
Calls C++ function: [constructor] void QVector<QRect>::QVector(int size).
Sourcepub unsafe fn new_2a(
size: c_int,
t: impl CastInto<Ref<QRect>>,
) -> CppBox<QVectorOfQRect>
pub unsafe fn new_2a( size: c_int, t: impl CastInto<Ref<QRect>>, ) -> CppBox<QVectorOfQRect>
Calls C++ function: [constructor] void QVector<QRect>::QVector(int size, const QRect& t).
Sourcepub unsafe fn new_copy(
v: impl CastInto<Ref<QVectorOfQRect>>,
) -> CppBox<QVectorOfQRect>
pub unsafe fn new_copy( v: impl CastInto<Ref<QVectorOfQRect>>, ) -> CppBox<QVectorOfQRect>
Calls C++ function: [constructor] void QVector<QRect>::QVector(const QVector<QRect>& v).
Sourcepub unsafe fn prepend(&self, t: impl CastInto<Ref<QRect>>)
pub unsafe fn prepend(&self, t: impl CastInto<Ref<QRect>>)
Calls C++ function: void QVector<QRect>::prepend(const QRect& t).
Sourcepub unsafe fn push_back(&self, t: impl CastInto<Ref<QRect>>)
pub unsafe fn push_back(&self, t: impl CastInto<Ref<QRect>>)
Calls C++ function: void QVector<QRect>::push_back(const QRect& t).
Sourcepub unsafe fn push_front(&self, t: impl CastInto<Ref<QRect>>)
pub unsafe fn push_front(&self, t: impl CastInto<Ref<QRect>>)
Calls C++ function: void QVector<QRect>::push_front(const QRect& t).
Sourcepub unsafe fn remove_1a(&self, i: c_int)
pub unsafe fn remove_1a(&self, i: c_int)
Calls C++ function: void QVector<QRect>::remove(int i).
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<QRect>::remove(int i, int n).
Sourcepub unsafe fn remove_all(&self, t: impl CastInto<Ref<QRect>>) -> c_int
pub unsafe fn remove_all(&self, t: impl CastInto<Ref<QRect>>) -> c_int
Calls C++ function: int QVector<QRect>::removeAll(const QRect& t).
Sourcepub unsafe fn remove_at(&self, i: c_int)
pub unsafe fn remove_at(&self, i: c_int)
Calls C++ function: void QVector<QRect>::removeAt(int i).
Sourcepub unsafe fn remove_first(&self)
pub unsafe fn remove_first(&self)
Calls C++ function: void QVector<QRect>::removeFirst().
Sourcepub unsafe fn remove_last(&self)
pub unsafe fn remove_last(&self)
Calls C++ function: void QVector<QRect>::removeLast().
Sourcepub unsafe fn remove_one(&self, t: impl CastInto<Ref<QRect>>) -> bool
pub unsafe fn remove_one(&self, t: impl CastInto<Ref<QRect>>) -> bool
Calls C++ function: bool QVector<QRect>::removeOne(const QRect& t).
Sourcepub unsafe fn replace(&self, i: c_int, t: impl CastInto<Ref<QRect>>)
pub unsafe fn replace(&self, i: c_int, t: impl CastInto<Ref<QRect>>)
Calls C++ function: void QVector<QRect>::replace(int i, const QRect& t).
Sourcepub unsafe fn reserve(&self, size: c_int)
pub unsafe fn reserve(&self, size: c_int)
Calls C++ function: void QVector<QRect>::reserve(int size).
Sourcepub unsafe fn resize(&self, size: c_int)
pub unsafe fn resize(&self, size: c_int)
Calls C++ function: void QVector<QRect>::resize(int size).
Sourcepub unsafe fn set_sharable(&self, sharable: bool)
pub unsafe fn set_sharable(&self, sharable: bool)
Calls C++ function: void QVector<QRect>::setSharable(bool sharable).
Sourcepub unsafe fn shrink_to_fit(&self)
pub unsafe fn shrink_to_fit(&self)
Calls C++ function: void QVector<QRect>::shrink_to_fit().
Sourcepub unsafe fn starts_with(&self, t: impl CastInto<Ref<QRect>>) -> bool
pub unsafe fn starts_with(&self, t: impl CastInto<Ref<QRect>>) -> bool
Calls C++ function: bool QVector<QRect>::startsWith(const QRect& t) const.
Sourcepub unsafe fn swap(&self, other: impl CastInto<Ref<QVectorOfQRect>>)
pub unsafe fn swap(&self, other: impl CastInto<Ref<QVectorOfQRect>>)
Calls C++ function: void QVector<QRect>::swap(QVector<QRect>& 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<QRect>::swapItemsAt(int i, int j).
Sourcepub unsafe fn take_at(&self, i: c_int) -> CppBox<QRect>
pub unsafe fn take_at(&self, i: c_int) -> CppBox<QRect>
Calls C++ function: QRect QVector<QRect>::takeAt(int i).
Sourcepub unsafe fn take_first(&self) -> CppBox<QRect>
pub unsafe fn take_first(&self) -> CppBox<QRect>
Calls C++ function: QRect QVector<QRect>::takeFirst().
Sourcepub unsafe fn take_last(&self) -> CppBox<QRect>
pub unsafe fn take_last(&self) -> CppBox<QRect>
Calls C++ function: QRect QVector<QRect>::takeLast().
Trait Implementations§
Source§impl Add<Ref<QVectorOfQRect>> for &QVectorOfQRect
impl Add<Ref<QVectorOfQRect>> for &QVectorOfQRect
Source§fn add(self, l: Ref<QVectorOfQRect>) -> CppBox<QVectorOfQRect>
fn add(self, l: Ref<QVectorOfQRect>) -> CppBox<QVectorOfQRect>
Calls C++ function: QVector<QRect> QVector<QRect>::operator+(const QVector<QRect>& l) const.
Source§type Output = CppBox<QVectorOfQRect>
type Output = CppBox<QVectorOfQRect>
+ operator.Source§impl CppDeletable for QVectorOfQRect
impl CppDeletable for QVectorOfQRect
Source§impl Data for QVectorOfQRect
impl Data for QVectorOfQRect
Source§impl DataMut for QVectorOfQRect
impl DataMut for QVectorOfQRect
Source§impl PartialEq<Ref<QVectorOfQRect>> for QVectorOfQRect
impl PartialEq<Ref<QVectorOfQRect>> for QVectorOfQRect
Source§impl Shl<Ref<QVectorOfQRect>> for &QVectorOfQRect
impl Shl<Ref<QVectorOfQRect>> for &QVectorOfQRect
Source§fn shl(self, l: Ref<QVectorOfQRect>) -> Ref<QVectorOfQRect>
fn shl(self, l: Ref<QVectorOfQRect>) -> Ref<QVectorOfQRect>
Calls C++ function: QVector<QRect>& QVector<QRect>::operator<<(const QVector<QRect>& l).
Source§type Output = Ref<QVectorOfQRect>
type Output = Ref<QVectorOfQRect>
<< operator.