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