pub struct QVectorOfSelection { /* private fields */ }Expand description
C++ class: QVector<QAbstractTextDocumentLayout::Selection>.
Implementations§
Source§impl QVectorOfSelection
impl QVectorOfSelection
Sourcepub unsafe fn add_assign_q_vector_of_selection(
&self,
l: impl CastInto<Ref<QVectorOfSelection>>,
) -> Ref<QVectorOfSelection>
pub unsafe fn add_assign_q_vector_of_selection( &self, l: impl CastInto<Ref<QVectorOfSelection>>, ) -> Ref<QVectorOfSelection>
Calls C++ function: QVector<QAbstractTextDocumentLayout::Selection>& QVector<QAbstractTextDocumentLayout::Selection>::operator+=(const QVector<QAbstractTextDocumentLayout::Selection>& l).
Sourcepub unsafe fn add_assign_selection(
&self,
t: impl CastInto<Ref<Selection>>,
) -> Ref<QVectorOfSelection>
pub unsafe fn add_assign_selection( &self, t: impl CastInto<Ref<Selection>>, ) -> Ref<QVectorOfSelection>
Calls C++ function: QVector<QAbstractTextDocumentLayout::Selection>& QVector<QAbstractTextDocumentLayout::Selection>::operator+=(const QAbstractTextDocumentLayout::Selection& t).
Sourcepub unsafe fn append_selection(&self, t: impl CastInto<Ref<Selection>>)
pub unsafe fn append_selection(&self, t: impl CastInto<Ref<Selection>>)
Calls C++ function: void QVector<QAbstractTextDocumentLayout::Selection>::append(const QAbstractTextDocumentLayout::Selection& t).
Sourcepub unsafe fn append_q_vector_of_selection(
&self,
l: impl CastInto<Ref<QVectorOfSelection>>,
)
pub unsafe fn append_q_vector_of_selection( &self, l: impl CastInto<Ref<QVectorOfSelection>>, )
Calls C++ function: void QVector<QAbstractTextDocumentLayout::Selection>::append(const QVector<QAbstractTextDocumentLayout::Selection>& l).
Sourcepub unsafe fn at(&self, i: c_int) -> Ref<Selection>
pub unsafe fn at(&self, i: c_int) -> Ref<Selection>
Calls C++ function: const QAbstractTextDocumentLayout::Selection& QVector<QAbstractTextDocumentLayout::Selection>::at(int i) const.
Sourcepub unsafe fn back_mut(&self) -> Ref<Selection>
pub unsafe fn back_mut(&self) -> Ref<Selection>
Calls C++ function: QAbstractTextDocumentLayout::Selection& QVector<QAbstractTextDocumentLayout::Selection>::back().
Sourcepub unsafe fn back(&self) -> Ref<Selection>
pub unsafe fn back(&self) -> Ref<Selection>
Calls C++ function: const QAbstractTextDocumentLayout::Selection& QVector<QAbstractTextDocumentLayout::Selection>::back() const.
Sourcepub unsafe fn capacity(&self) -> c_int
pub unsafe fn capacity(&self) -> c_int
Calls C++ function: int QVector<QAbstractTextDocumentLayout::Selection>::capacity() const.
Sourcepub unsafe fn clear(&self)
pub unsafe fn clear(&self)
Calls C++ function: void QVector<QAbstractTextDocumentLayout::Selection>::clear().
Sourcepub unsafe fn const_data(&self) -> Ptr<Selection>
pub unsafe fn const_data(&self) -> Ptr<Selection>
Calls C++ function: const QAbstractTextDocumentLayout::Selection* QVector<QAbstractTextDocumentLayout::Selection>::constData() const.
Sourcepub unsafe fn const_first(&self) -> Ref<Selection>
pub unsafe fn const_first(&self) -> Ref<Selection>
Calls C++ function: const QAbstractTextDocumentLayout::Selection& QVector<QAbstractTextDocumentLayout::Selection>::constFirst() const.
Sourcepub unsafe fn const_last(&self) -> Ref<Selection>
pub unsafe fn const_last(&self) -> Ref<Selection>
Calls C++ function: const QAbstractTextDocumentLayout::Selection& QVector<QAbstractTextDocumentLayout::Selection>::constLast() const.
Sourcepub unsafe fn copy_from(
&self,
v: impl CastInto<Ref<QVectorOfSelection>>,
) -> Ref<QVectorOfSelection>
pub unsafe fn copy_from( &self, v: impl CastInto<Ref<QVectorOfSelection>>, ) -> Ref<QVectorOfSelection>
Calls C++ function: QVector<QAbstractTextDocumentLayout::Selection>& QVector<QAbstractTextDocumentLayout::Selection>::operator=(const QVector<QAbstractTextDocumentLayout::Selection>& v).
Sourcepub unsafe fn count(&self) -> c_int
pub unsafe fn count(&self) -> c_int
Calls C++ function: int QVector<QAbstractTextDocumentLayout::Selection>::count() const.
Sourcepub unsafe fn data_mut(&self) -> Ptr<Selection>
pub unsafe fn data_mut(&self) -> Ptr<Selection>
Calls C++ function: QAbstractTextDocumentLayout::Selection* QVector<QAbstractTextDocumentLayout::Selection>::data().
Sourcepub unsafe fn data(&self) -> Ptr<Selection>
pub unsafe fn data(&self) -> Ptr<Selection>
Calls C++ function: const QAbstractTextDocumentLayout::Selection* QVector<QAbstractTextDocumentLayout::Selection>::data() const.
Sourcepub unsafe fn detach(&self)
pub unsafe fn detach(&self)
Calls C++ function: void QVector<QAbstractTextDocumentLayout::Selection>::detach().
Sourcepub unsafe fn empty(&self) -> bool
pub unsafe fn empty(&self) -> bool
Calls C++ function: bool QVector<QAbstractTextDocumentLayout::Selection>::empty() const.
Sourcepub unsafe fn fill_2a(
&self,
t: impl CastInto<Ref<Selection>>,
size: c_int,
) -> Ref<QVectorOfSelection>
pub unsafe fn fill_2a( &self, t: impl CastInto<Ref<Selection>>, size: c_int, ) -> Ref<QVectorOfSelection>
Calls C++ function: QVector<QAbstractTextDocumentLayout::Selection>& QVector<QAbstractTextDocumentLayout::Selection>::fill(const QAbstractTextDocumentLayout::Selection& t, int size = …).
Sourcepub unsafe fn fill_1a(
&self,
t: impl CastInto<Ref<Selection>>,
) -> Ref<QVectorOfSelection>
pub unsafe fn fill_1a( &self, t: impl CastInto<Ref<Selection>>, ) -> Ref<QVectorOfSelection>
Calls C++ function: QVector<QAbstractTextDocumentLayout::Selection>& QVector<QAbstractTextDocumentLayout::Selection>::fill(const QAbstractTextDocumentLayout::Selection& t).
Sourcepub unsafe fn first_mut(&self) -> Ref<Selection>
pub unsafe fn first_mut(&self) -> Ref<Selection>
Calls C++ function: QAbstractTextDocumentLayout::Selection& QVector<QAbstractTextDocumentLayout::Selection>::first().
Sourcepub unsafe fn first(&self) -> Ref<Selection>
pub unsafe fn first(&self) -> Ref<Selection>
Calls C++ function: const QAbstractTextDocumentLayout::Selection& QVector<QAbstractTextDocumentLayout::Selection>::first() const.
Sourcepub unsafe fn front_mut(&self) -> Ref<Selection>
pub unsafe fn front_mut(&self) -> Ref<Selection>
Calls C++ function: QAbstractTextDocumentLayout::Selection& QVector<QAbstractTextDocumentLayout::Selection>::front().
Sourcepub unsafe fn front(&self) -> Ref<Selection>
pub unsafe fn front(&self) -> Ref<Selection>
Calls C++ function: const QAbstractTextDocumentLayout::Selection& QVector<QAbstractTextDocumentLayout::Selection>::front() const.
Sourcepub unsafe fn index_mut(&self, i: c_int) -> Ref<Selection>
pub unsafe fn index_mut(&self, i: c_int) -> Ref<Selection>
Calls C++ function: QAbstractTextDocumentLayout::Selection& QVector<QAbstractTextDocumentLayout::Selection>::operator[](int i).
Sourcepub unsafe fn index(&self, i: c_int) -> Ref<Selection>
pub unsafe fn index(&self, i: c_int) -> Ref<Selection>
Calls C++ function: const QAbstractTextDocumentLayout::Selection& QVector<QAbstractTextDocumentLayout::Selection>::operator[](int i) const.
Sourcepub unsafe fn insert_2a(&self, i: c_int, t: impl CastInto<Ref<Selection>>)
pub unsafe fn insert_2a(&self, i: c_int, t: impl CastInto<Ref<Selection>>)
Calls C++ function: void QVector<QAbstractTextDocumentLayout::Selection>::insert(int i, const QAbstractTextDocumentLayout::Selection& t).
Sourcepub unsafe fn insert_3a(
&self,
i: c_int,
n: c_int,
t: impl CastInto<Ref<Selection>>,
)
pub unsafe fn insert_3a( &self, i: c_int, n: c_int, t: impl CastInto<Ref<Selection>>, )
Calls C++ function: void QVector<QAbstractTextDocumentLayout::Selection>::insert(int i, int n, const QAbstractTextDocumentLayout::Selection& t).
Sourcepub unsafe fn is_detached(&self) -> bool
pub unsafe fn is_detached(&self) -> bool
Calls C++ function: bool QVector<QAbstractTextDocumentLayout::Selection>::isDetached() const.
Sourcepub unsafe fn is_empty(&self) -> bool
pub unsafe fn is_empty(&self) -> bool
Calls C++ function: bool QVector<QAbstractTextDocumentLayout::Selection>::isEmpty() const.
Calls C++ function: bool QVector<QAbstractTextDocumentLayout::Selection>::isSharedWith(const QVector<QAbstractTextDocumentLayout::Selection>& other) const.
Sourcepub unsafe fn last_mut(&self) -> Ref<Selection>
pub unsafe fn last_mut(&self) -> Ref<Selection>
Calls C++ function: QAbstractTextDocumentLayout::Selection& QVector<QAbstractTextDocumentLayout::Selection>::last().
Sourcepub unsafe fn last(&self) -> Ref<Selection>
pub unsafe fn last(&self) -> Ref<Selection>
Calls C++ function: const QAbstractTextDocumentLayout::Selection& QVector<QAbstractTextDocumentLayout::Selection>::last() const.
Sourcepub unsafe fn length(&self) -> c_int
pub unsafe fn length(&self) -> c_int
Calls C++ function: int QVector<QAbstractTextDocumentLayout::Selection>::length() const.
Sourcepub unsafe fn mid_2a(
&self,
pos: c_int,
len: c_int,
) -> CppBox<QVectorOfSelection>
pub unsafe fn mid_2a( &self, pos: c_int, len: c_int, ) -> CppBox<QVectorOfSelection>
Calls C++ function: QVector<QAbstractTextDocumentLayout::Selection> QVector<QAbstractTextDocumentLayout::Selection>::mid(int pos, int len = …) const.
Sourcepub unsafe fn mid_1a(&self, pos: c_int) -> CppBox<QVectorOfSelection>
pub unsafe fn mid_1a(&self, pos: c_int) -> CppBox<QVectorOfSelection>
Calls C++ function: QVector<QAbstractTextDocumentLayout::Selection> QVector<QAbstractTextDocumentLayout::Selection>::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<QAbstractTextDocumentLayout::Selection>::move(int from, int to).
Sourcepub unsafe fn new_0a() -> CppBox<QVectorOfSelection>
pub unsafe fn new_0a() -> CppBox<QVectorOfSelection>
Calls C++ function: [constructor] void QVector<QAbstractTextDocumentLayout::Selection>::QVector().
Sourcepub unsafe fn new_1a(size: c_int) -> CppBox<QVectorOfSelection>
pub unsafe fn new_1a(size: c_int) -> CppBox<QVectorOfSelection>
Calls C++ function: [constructor] void QVector<QAbstractTextDocumentLayout::Selection>::QVector(int size).
Sourcepub unsafe fn new_2a(
size: c_int,
t: impl CastInto<Ref<Selection>>,
) -> CppBox<QVectorOfSelection>
pub unsafe fn new_2a( size: c_int, t: impl CastInto<Ref<Selection>>, ) -> CppBox<QVectorOfSelection>
Calls C++ function: [constructor] void QVector<QAbstractTextDocumentLayout::Selection>::QVector(int size, const QAbstractTextDocumentLayout::Selection& t).
Sourcepub unsafe fn new_copy(
v: impl CastInto<Ref<QVectorOfSelection>>,
) -> CppBox<QVectorOfSelection>
pub unsafe fn new_copy( v: impl CastInto<Ref<QVectorOfSelection>>, ) -> CppBox<QVectorOfSelection>
Calls C++ function: [constructor] void QVector<QAbstractTextDocumentLayout::Selection>::QVector(const QVector<QAbstractTextDocumentLayout::Selection>& v).
Sourcepub unsafe fn pop_back(&self)
pub unsafe fn pop_back(&self)
Calls C++ function: void QVector<QAbstractTextDocumentLayout::Selection>::pop_back().
Sourcepub unsafe fn pop_front(&self)
pub unsafe fn pop_front(&self)
Calls C++ function: void QVector<QAbstractTextDocumentLayout::Selection>::pop_front().
Sourcepub unsafe fn prepend(&self, t: impl CastInto<Ref<Selection>>)
pub unsafe fn prepend(&self, t: impl CastInto<Ref<Selection>>)
Calls C++ function: void QVector<QAbstractTextDocumentLayout::Selection>::prepend(const QAbstractTextDocumentLayout::Selection& t).
Sourcepub unsafe fn push_back(&self, t: impl CastInto<Ref<Selection>>)
pub unsafe fn push_back(&self, t: impl CastInto<Ref<Selection>>)
Calls C++ function: void QVector<QAbstractTextDocumentLayout::Selection>::push_back(const QAbstractTextDocumentLayout::Selection& t).
Sourcepub unsafe fn push_front(&self, t: impl CastInto<Ref<Selection>>)
pub unsafe fn push_front(&self, t: impl CastInto<Ref<Selection>>)
Calls C++ function: void QVector<QAbstractTextDocumentLayout::Selection>::push_front(const QAbstractTextDocumentLayout::Selection& t).
Sourcepub unsafe fn remove_1a(&self, i: c_int)
pub unsafe fn remove_1a(&self, i: c_int)
Calls C++ function: void QVector<QAbstractTextDocumentLayout::Selection>::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<QAbstractTextDocumentLayout::Selection>::remove(int i, int n).
Sourcepub unsafe fn remove_at(&self, i: c_int)
pub unsafe fn remove_at(&self, i: c_int)
Calls C++ function: void QVector<QAbstractTextDocumentLayout::Selection>::removeAt(int i).
Sourcepub unsafe fn remove_first(&self)
pub unsafe fn remove_first(&self)
Calls C++ function: void QVector<QAbstractTextDocumentLayout::Selection>::removeFirst().
Sourcepub unsafe fn remove_last(&self)
pub unsafe fn remove_last(&self)
Calls C++ function: void QVector<QAbstractTextDocumentLayout::Selection>::removeLast().
Sourcepub unsafe fn replace(&self, i: c_int, t: impl CastInto<Ref<Selection>>)
pub unsafe fn replace(&self, i: c_int, t: impl CastInto<Ref<Selection>>)
Calls C++ function: void QVector<QAbstractTextDocumentLayout::Selection>::replace(int i, const QAbstractTextDocumentLayout::Selection& t).
Sourcepub unsafe fn reserve(&self, size: c_int)
pub unsafe fn reserve(&self, size: c_int)
Calls C++ function: void QVector<QAbstractTextDocumentLayout::Selection>::reserve(int size).
Sourcepub unsafe fn resize(&self, size: c_int)
pub unsafe fn resize(&self, size: c_int)
Calls C++ function: void QVector<QAbstractTextDocumentLayout::Selection>::resize(int size).
Sourcepub unsafe fn set_sharable(&self, sharable: bool)
pub unsafe fn set_sharable(&self, sharable: bool)
Calls C++ function: void QVector<QAbstractTextDocumentLayout::Selection>::setSharable(bool sharable).
Sourcepub unsafe fn shrink_to_fit(&self)
pub unsafe fn shrink_to_fit(&self)
Calls C++ function: void QVector<QAbstractTextDocumentLayout::Selection>::shrink_to_fit().
Sourcepub unsafe fn size(&self) -> c_int
pub unsafe fn size(&self) -> c_int
Calls C++ function: int QVector<QAbstractTextDocumentLayout::Selection>::size() const.
Sourcepub unsafe fn squeeze(&self)
pub unsafe fn squeeze(&self)
Calls C++ function: void QVector<QAbstractTextDocumentLayout::Selection>::squeeze().
Sourcepub unsafe fn swap(&self, other: impl CastInto<Ref<QVectorOfSelection>>)
pub unsafe fn swap(&self, other: impl CastInto<Ref<QVectorOfSelection>>)
Calls C++ function: void QVector<QAbstractTextDocumentLayout::Selection>::swap(QVector<QAbstractTextDocumentLayout::Selection>& 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<QAbstractTextDocumentLayout::Selection>::swapItemsAt(int i, int j).
Sourcepub unsafe fn take_at(&self, i: c_int) -> CppBox<Selection>
pub unsafe fn take_at(&self, i: c_int) -> CppBox<Selection>
Calls C++ function: QAbstractTextDocumentLayout::Selection QVector<QAbstractTextDocumentLayout::Selection>::takeAt(int i).
Sourcepub unsafe fn take_first(&self) -> CppBox<Selection>
pub unsafe fn take_first(&self) -> CppBox<Selection>
Calls C++ function: QAbstractTextDocumentLayout::Selection QVector<QAbstractTextDocumentLayout::Selection>::takeFirst().
Sourcepub unsafe fn take_last(&self) -> CppBox<Selection>
pub unsafe fn take_last(&self) -> CppBox<Selection>
Calls C++ function: QAbstractTextDocumentLayout::Selection QVector<QAbstractTextDocumentLayout::Selection>::takeLast().
Sourcepub unsafe fn value_1a(&self, i: c_int) -> CppBox<Selection>
pub unsafe fn value_1a(&self, i: c_int) -> CppBox<Selection>
Calls C++ function: QAbstractTextDocumentLayout::Selection QVector<QAbstractTextDocumentLayout::Selection>::value(int i) const.
Sourcepub unsafe fn value_2a(
&self,
i: c_int,
default_value: impl CastInto<Ref<Selection>>,
) -> CppBox<Selection>
pub unsafe fn value_2a( &self, i: c_int, default_value: impl CastInto<Ref<Selection>>, ) -> CppBox<Selection>
Calls C++ function: QAbstractTextDocumentLayout::Selection QVector<QAbstractTextDocumentLayout::Selection>::value(int i, const QAbstractTextDocumentLayout::Selection& defaultValue) const.
Trait Implementations§
Source§impl Add<Ref<QVectorOfSelection>> for &QVectorOfSelection
impl Add<Ref<QVectorOfSelection>> for &QVectorOfSelection
Source§fn add(self, l: Ref<QVectorOfSelection>) -> CppBox<QVectorOfSelection>
fn add(self, l: Ref<QVectorOfSelection>) -> CppBox<QVectorOfSelection>
Calls C++ function: QVector<QAbstractTextDocumentLayout::Selection> QVector<QAbstractTextDocumentLayout::Selection>::operator+(const QVector<QAbstractTextDocumentLayout::Selection>& l) const.
Source§type Output = CppBox<QVectorOfSelection>
type Output = CppBox<QVectorOfSelection>
+ operator.Source§impl CppDeletable for QVectorOfSelection
impl CppDeletable for QVectorOfSelection
Source§impl Data for QVectorOfSelection
impl Data for QVectorOfSelection
Source§impl DataMut for QVectorOfSelection
impl DataMut for QVectorOfSelection
Source§impl Shl<Ref<QVectorOfSelection>> for &QVectorOfSelection
impl Shl<Ref<QVectorOfSelection>> for &QVectorOfSelection
Source§fn shl(self, l: Ref<QVectorOfSelection>) -> Ref<QVectorOfSelection>
fn shl(self, l: Ref<QVectorOfSelection>) -> Ref<QVectorOfSelection>
Calls C++ function: QVector<QAbstractTextDocumentLayout::Selection>& QVector<QAbstractTextDocumentLayout::Selection>::operator<<(const QVector<QAbstractTextDocumentLayout::Selection>& l).
Source§type Output = Ref<QVectorOfSelection>
type Output = Ref<QVectorOfSelection>
<< operator.Source§impl Shl<Ref<Selection>> for &QVectorOfSelection
impl Shl<Ref<Selection>> for &QVectorOfSelection
Source§fn shl(self, t: Ref<Selection>) -> Ref<QVectorOfSelection>
fn shl(self, t: Ref<Selection>) -> Ref<QVectorOfSelection>
Calls C++ function: QVector<QAbstractTextDocumentLayout::Selection>& QVector<QAbstractTextDocumentLayout::Selection>::operator<<(const QAbstractTextDocumentLayout::Selection& t).
Source§type Output = Ref<QVectorOfSelection>
type Output = Ref<QVectorOfSelection>
<< operator.