Skip to main content

QVectorOfQCborValue

Struct QVectorOfQCborValue 

Source
pub struct QVectorOfQCborValue { /* private fields */ }
Expand description

C++ class: QVector<QCborValue>.

Implementations§

Source§

impl QVectorOfQCborValue

Source

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).

Source

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).

Source

pub unsafe fn append_q_cbor_value(&self, t: impl CastInto<Ref<QCborValue>>)

Calls C++ function: void QVector<QCborValue>::append(const QCborValue& t).

Source

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).

Source

pub unsafe fn at(&self, i: c_int) -> Ref<QCborValue>

Calls C++ function: const QCborValue& QVector<QCborValue>::at(int i) const.

Source

pub unsafe fn back_mut(&self) -> Ref<QCborValue>

Calls C++ function: QCborValue& QVector<QCborValue>::back().

Source

pub unsafe fn back(&self) -> Ref<QCborValue>

Calls C++ function: const QCborValue& QVector<QCborValue>::back() const.

Source

pub unsafe fn capacity(&self) -> c_int

Calls C++ function: int QVector<QCborValue>::capacity() const.

Source

pub unsafe fn clear(&self)

Calls C++ function: void QVector<QCborValue>::clear().

Source

pub unsafe fn const_data(&self) -> Ptr<QCborValue>

Calls C++ function: const QCborValue* QVector<QCborValue>::constData() const.

Source

pub unsafe fn const_first(&self) -> Ref<QCborValue>

Calls C++ function: const QCborValue& QVector<QCborValue>::constFirst() const.

Source

pub unsafe fn const_last(&self) -> Ref<QCborValue>

Calls C++ function: const QCborValue& QVector<QCborValue>::constLast() const.

Source

pub unsafe fn contains(&self, t: impl CastInto<Ref<QCborValue>>) -> bool

Calls C++ function: bool QVector<QCborValue>::contains(const QCborValue& t) const.

Source

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).

Source

pub unsafe fn count_1a(&self, t: impl CastInto<Ref<QCborValue>>) -> c_int

Calls C++ function: int QVector<QCborValue>::count(const QCborValue& t) const.

Source

pub unsafe fn count_0a(&self) -> c_int

Calls C++ function: int QVector<QCborValue>::count() const.

Source

pub unsafe fn data_mut(&self) -> Ptr<QCborValue>

Calls C++ function: QCborValue* QVector<QCborValue>::data().

Source

pub unsafe fn data(&self) -> Ptr<QCborValue>

Calls C++ function: const QCborValue* QVector<QCborValue>::data() const.

Source

pub unsafe fn detach(&self)

Calls C++ function: void QVector<QCborValue>::detach().

Source

pub unsafe fn empty(&self) -> bool

Calls C++ function: bool QVector<QCborValue>::empty() const.

Source

pub unsafe fn ends_with(&self, t: impl CastInto<Ref<QCborValue>>) -> bool

Calls C++ function: bool QVector<QCborValue>::endsWith(const QCborValue& t) const.

Source

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 = …).

Source

pub unsafe fn fill_1a( &self, t: impl CastInto<Ref<QCborValue>>, ) -> Ref<QVectorOfQCborValue>

Calls C++ function: QVector<QCborValue>& QVector<QCborValue>::fill(const QCborValue& t).

Source

pub unsafe fn first_mut(&self) -> Ref<QCborValue>

Calls C++ function: QCborValue& QVector<QCborValue>::first().

Source

pub unsafe fn first(&self) -> Ref<QCborValue>

Calls C++ function: const QCborValue& QVector<QCborValue>::first() const.

Source

pub unsafe fn front_mut(&self) -> Ref<QCborValue>

Calls C++ function: QCborValue& QVector<QCborValue>::front().

Source

pub unsafe fn front(&self) -> Ref<QCborValue>

Calls C++ function: const QCborValue& QVector<QCborValue>::front() const.

Source

pub unsafe fn index_mut(&self, i: c_int) -> Ref<QCborValue>

Calls C++ function: QCborValue& QVector<QCborValue>::operator[](int i).

Source

pub unsafe fn index(&self, i: c_int) -> Ref<QCborValue>

Calls C++ function: const QCborValue& QVector<QCborValue>::operator[](int i) const.

Source

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.

Source

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.

Source

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).

Source

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).

Source

pub unsafe fn is_detached(&self) -> bool

Calls C++ function: bool QVector<QCborValue>::isDetached() const.

Source

pub unsafe fn is_empty(&self) -> bool

Calls C++ function: bool QVector<QCborValue>::isEmpty() const.

Source

pub unsafe fn is_shared_with( &self, other: impl CastInto<Ref<QVectorOfQCborValue>>, ) -> bool

Calls C++ function: bool QVector<QCborValue>::isSharedWith(const QVector<QCborValue>& other) const.

Source

pub unsafe fn last_mut(&self) -> Ref<QCborValue>

Calls C++ function: QCborValue& QVector<QCborValue>::last().

Source

pub unsafe fn last(&self) -> Ref<QCborValue>

Calls C++ function: const QCborValue& QVector<QCborValue>::last() const.

Source

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.

Source

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.

Source

pub unsafe fn length(&self) -> c_int

Calls C++ function: int QVector<QCborValue>::length() const.

Source

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.

Source

pub unsafe fn mid_1a(&self, pos: c_int) -> CppBox<QVectorOfQCborValue>

Calls C++ function: QVector<QCborValue> QVector<QCborValue>::mid(int pos) const.

Source

pub unsafe fn move_(&self, from: c_int, to: c_int)

Calls C++ function: void QVector<QCborValue>::move(int from, int to).

Source

pub unsafe fn new_0a() -> CppBox<QVectorOfQCborValue>

Calls C++ function: [constructor] void QVector<QCborValue>::QVector().

Source

pub unsafe fn new_1a(size: c_int) -> CppBox<QVectorOfQCborValue>

Calls C++ function: [constructor] void QVector<QCborValue>::QVector(int size).

Source

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).

Source

pub unsafe fn new_copy( v: impl CastInto<Ref<QVectorOfQCborValue>>, ) -> CppBox<QVectorOfQCborValue>

Calls C++ function: [constructor] void QVector<QCborValue>::QVector(const QVector<QCborValue>& v).

Source

pub unsafe fn pop_back(&self)

Calls C++ function: void QVector<QCborValue>::pop_back().

Source

pub unsafe fn pop_front(&self)

Calls C++ function: void QVector<QCborValue>::pop_front().

Source

pub unsafe fn prepend(&self, t: impl CastInto<Ref<QCborValue>>)

Calls C++ function: void QVector<QCborValue>::prepend(const QCborValue& t).

Source

pub unsafe fn push_back(&self, t: impl CastInto<Ref<QCborValue>>)

Calls C++ function: void QVector<QCborValue>::push_back(const QCborValue& t).

Source

pub unsafe fn push_front(&self, t: impl CastInto<Ref<QCborValue>>)

Calls C++ function: void QVector<QCborValue>::push_front(const QCborValue& t).

Source

pub unsafe fn remove_1a(&self, i: c_int)

Calls C++ function: void QVector<QCborValue>::remove(int i).

Source

pub unsafe fn remove_2a(&self, i: c_int, n: c_int)

Calls C++ function: void QVector<QCborValue>::remove(int i, int n).

Source

pub unsafe fn remove_all(&self, t: impl CastInto<Ref<QCborValue>>) -> c_int

Calls C++ function: int QVector<QCborValue>::removeAll(const QCborValue& t).

Source

pub unsafe fn remove_at(&self, i: c_int)

Calls C++ function: void QVector<QCborValue>::removeAt(int i).

Source

pub unsafe fn remove_first(&self)

Calls C++ function: void QVector<QCborValue>::removeFirst().

Source

pub unsafe fn remove_last(&self)

Calls C++ function: void QVector<QCborValue>::removeLast().

Source

pub unsafe fn remove_one(&self, t: impl CastInto<Ref<QCborValue>>) -> bool

Calls C++ function: bool QVector<QCborValue>::removeOne(const QCborValue& t).

Source

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).

Source

pub unsafe fn reserve(&self, size: c_int)

Calls C++ function: void QVector<QCborValue>::reserve(int size).

Source

pub unsafe fn resize(&self, size: c_int)

Calls C++ function: void QVector<QCborValue>::resize(int size).

Source

pub unsafe fn set_sharable(&self, sharable: bool)

Calls C++ function: void QVector<QCborValue>::setSharable(bool sharable).

Source

pub unsafe fn shrink_to_fit(&self)

Calls C++ function: void QVector<QCborValue>::shrink_to_fit().

Source

pub unsafe fn size(&self) -> c_int

Calls C++ function: int QVector<QCborValue>::size() const.

Source

pub unsafe fn squeeze(&self)

Calls C++ function: void QVector<QCborValue>::squeeze().

Source

pub unsafe fn starts_with(&self, t: impl CastInto<Ref<QCborValue>>) -> bool

Calls C++ function: bool QVector<QCborValue>::startsWith(const QCborValue& t) const.

Source

pub unsafe fn swap(&self, other: impl CastInto<Ref<QVectorOfQCborValue>>)

Calls C++ function: void QVector<QCborValue>::swap(QVector<QCborValue>& other).

Source

pub unsafe fn swap_items_at(&self, i: c_int, j: c_int)

Calls C++ function: void QVector<QCborValue>::swapItemsAt(int i, int j).

Source

pub unsafe fn take_at(&self, i: c_int) -> CppBox<QCborValue>

Calls C++ function: QCborValue QVector<QCborValue>::takeAt(int i).

Source

pub unsafe fn take_first(&self) -> CppBox<QCborValue>

Calls C++ function: QCborValue QVector<QCborValue>::takeFirst().

Source

pub unsafe fn take_last(&self) -> CppBox<QCborValue>

Calls C++ function: QCborValue QVector<QCborValue>::takeLast().

Source

pub unsafe fn value_1a(&self, i: c_int) -> CppBox<QCborValue>

Calls C++ function: QCborValue QVector<QCborValue>::value(int i) const.

Source

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

Source§

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>

The resulting type after applying the + operator.
Source§

impl CppDeletable for QVectorOfQCborValue

Source§

unsafe fn delete(&self)

Calls C++ function: [destructor] void QVector<QCborValue>::~QVector().

Source§

impl Data for QVectorOfQCborValue

Source§

unsafe fn data(&self) -> Ptr<QCborValue>

Calls C++ function: const QCborValue* QVector<QCborValue>::data() const.

Source§

type Output = Ptr<QCborValue>

Return type of data() function.
Source§

impl DataMut for QVectorOfQCborValue

Source§

unsafe fn data_mut(&self) -> Ptr<QCborValue>

Calls C++ function: QCborValue* QVector<QCborValue>::data().

Source§

type Output = Ptr<QCborValue>

Return type of data_mut() function.
Source§

impl Ge<Ref<QVectorOfQCborValue>> for QVectorOfQCborValue

Source§

unsafe fn ge(&self, rhs: &Ref<QVectorOfQCborValue>) -> bool

Calls C++ function: bool operator>=(const QVector<QCborValue>& lhs, const QVector<QCborValue>& rhs).

Source§

impl Gt<Ref<QVectorOfQCborValue>> for QVectorOfQCborValue

Source§

unsafe fn gt(&self, rhs: &Ref<QVectorOfQCborValue>) -> bool

Calls C++ function: bool operator>(const QVector<QCborValue>& lhs, const QVector<QCborValue>& rhs).

Source§

impl Le<Ref<QVectorOfQCborValue>> for QVectorOfQCborValue

Source§

unsafe fn le(&self, rhs: &Ref<QVectorOfQCborValue>) -> bool

Calls C++ function: bool operator<=(const QVector<QCborValue>& lhs, const QVector<QCborValue>& rhs).

Source§

impl Lt<Ref<QVectorOfQCborValue>> for QVectorOfQCborValue

Source§

unsafe fn lt(&self, rhs: &Ref<QVectorOfQCborValue>) -> bool

Calls C++ function: bool operator<(const QVector<QCborValue>& lhs, const QVector<QCborValue>& rhs).

Source§

impl PartialEq<Ref<QVectorOfQCborValue>> for QVectorOfQCborValue

Source§

fn eq(&self, v: &Ref<QVectorOfQCborValue>) -> bool

Calls C++ function: bool QVector<QCborValue>::operator==(const QVector<QCborValue>& v) const.

1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Shl<Ref<QCborValue>> for &QVectorOfQCborValue

Source§

fn shl(self, t: Ref<QCborValue>) -> Ref<QVectorOfQCborValue>

Calls C++ function: QVector<QCborValue>& QVector<QCborValue>::operator<<(const QCborValue& t).

Source§

type Output = Ref<QVectorOfQCborValue>

The resulting type after applying the << operator.
Source§

impl Shl<Ref<QVectorOfQCborValue>> for &QVectorOfQCborValue

Source§

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>

The resulting type after applying the << operator.
Source§

impl Size for QVectorOfQCborValue

Source§

unsafe fn size(&self) -> usize

Calls C++ function: int QVector<QCborValue>::size() const.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T, U> CastInto<U> for T
where U: CastFrom<T>,

Source§

unsafe fn cast_into(self) -> U

Performs the conversion. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> StaticUpcast<T> for T

Source§

unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>

Convert type of a const pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.