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