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