Skip to main content

QVectorOfQTextFormat

Struct QVectorOfQTextFormat 

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

C++ class: QVector<QTextFormat>.

Implementations§

Source§

impl QVectorOfQTextFormat

Source

pub unsafe fn add_assign_q_vector_of_q_text_format( &self, l: impl CastInto<Ref<QVectorOfQTextFormat>>, ) -> Ref<QVectorOfQTextFormat>

Calls C++ function: QVector<QTextFormat>& QVector<QTextFormat>::operator+=(const QVector<QTextFormat>& l).

Source

pub unsafe fn add_assign_q_text_format( &self, t: impl CastInto<Ref<QTextFormat>>, ) -> Ref<QVectorOfQTextFormat>

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

Source

pub unsafe fn append_q_text_format(&self, t: impl CastInto<Ref<QTextFormat>>)

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

Source

pub unsafe fn append_q_vector_of_q_text_format( &self, l: impl CastInto<Ref<QVectorOfQTextFormat>>, )

Calls C++ function: void QVector<QTextFormat>::append(const QVector<QTextFormat>& l).

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn capacity(&self) -> c_int

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

Source

pub unsafe fn clear(&self)

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn copy_from( &self, v: impl CastInto<Ref<QVectorOfQTextFormat>>, ) -> Ref<QVectorOfQTextFormat>

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

Source

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

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

Source

pub unsafe fn count_0a(&self) -> c_int

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

Source

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

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

Source

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

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

Source

pub unsafe fn detach(&self)

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

Source

pub unsafe fn empty(&self) -> bool

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

Source

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

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

Source

pub unsafe fn fill_2a( &self, t: impl CastInto<Ref<QTextFormat>>, size: c_int, ) -> Ref<QVectorOfQTextFormat>

Calls C++ function: QVector<QTextFormat>& QVector<QTextFormat>::fill(const QTextFormat& t, int size = …).

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn index_of_2a( &self, t: impl CastInto<Ref<QTextFormat>>, from: c_int, ) -> c_int

Calls C++ function: int QVector<QTextFormat>::indexOf(const QTextFormat& t, int from = …) const.

Source

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

Calls C++ function: int QVector<QTextFormat>::indexOf(const QTextFormat& t) const.

Source

pub unsafe fn insert_2a(&self, i: c_int, t: impl CastInto<Ref<QTextFormat>>)

Calls C++ function: void QVector<QTextFormat>::insert(int i, const QTextFormat& t).

Source

pub unsafe fn insert_3a( &self, i: c_int, n: c_int, t: impl CastInto<Ref<QTextFormat>>, )

Calls C++ function: void QVector<QTextFormat>::insert(int i, int n, const QTextFormat& t).

Source

pub unsafe fn is_detached(&self) -> bool

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

Source

pub unsafe fn is_empty(&self) -> bool

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn last_index_of_2a( &self, t: impl CastInto<Ref<QTextFormat>>, from: c_int, ) -> c_int

Calls C++ function: int QVector<QTextFormat>::lastIndexOf(const QTextFormat& t, int from = …) const.

Source

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

Calls C++ function: int QVector<QTextFormat>::lastIndexOf(const QTextFormat& t) const.

Source

pub unsafe fn length(&self) -> c_int

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

Source

pub unsafe fn mid_2a( &self, pos: c_int, len: c_int, ) -> CppBox<QVectorOfQTextFormat>

Calls C++ function: QVector<QTextFormat> QVector<QTextFormat>::mid(int pos, int len = …) const.

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn new_2a( size: c_int, t: impl CastInto<Ref<QTextFormat>>, ) -> CppBox<QVectorOfQTextFormat>

Calls C++ function: [constructor] void QVector<QTextFormat>::QVector(int size, const QTextFormat& t).

Source

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

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

Source

pub unsafe fn pop_back(&self)

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

Source

pub unsafe fn pop_front(&self)

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn remove_first(&self)

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

Source

pub unsafe fn remove_last(&self)

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

Source

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

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

Source

pub unsafe fn replace(&self, i: c_int, t: impl CastInto<Ref<QTextFormat>>)

Calls C++ function: void QVector<QTextFormat>::replace(int i, const QTextFormat& t).

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn shrink_to_fit(&self)

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

Source

pub unsafe fn size(&self) -> c_int

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

Source

pub unsafe fn squeeze(&self)

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn value_2a( &self, i: c_int, default_value: impl CastInto<Ref<QTextFormat>>, ) -> CppBox<QTextFormat>

Calls C++ function: QTextFormat QVector<QTextFormat>::value(int i, const QTextFormat& defaultValue) const.

Trait Implementations§

Source§

impl Add<Ref<QVectorOfQTextFormat>> for &QVectorOfQTextFormat

Source§

fn add(self, l: Ref<QVectorOfQTextFormat>) -> CppBox<QVectorOfQTextFormat>

Calls C++ function: QVector<QTextFormat> QVector<QTextFormat>::operator+(const QVector<QTextFormat>& l) const.

Source§

type Output = CppBox<QVectorOfQTextFormat>

The resulting type after applying the + operator.
Source§

impl CppDeletable for QVectorOfQTextFormat

Source§

unsafe fn delete(&self)

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

Source§

impl Data for QVectorOfQTextFormat

Source§

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

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

Source§

type Output = Ptr<QTextFormat>

Return type of data() function.
Source§

impl DataMut for QVectorOfQTextFormat

Source§

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

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

Source§

type Output = Ptr<QTextFormat>

Return type of data_mut() function.
Source§

impl PartialEq<Ref<QVectorOfQTextFormat>> for QVectorOfQTextFormat

Source§

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

Calls C++ function: bool QVector<QTextFormat>::operator==(const QVector<QTextFormat>& 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<QTextFormat>> for &QVectorOfQTextFormat

Source§

fn shl(self, t: Ref<QTextFormat>) -> Ref<QVectorOfQTextFormat>

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

Source§

type Output = Ref<QVectorOfQTextFormat>

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

impl Shl<Ref<QVectorOfQTextFormat>> for &QVectorOfQTextFormat

Source§

fn shl(self, l: Ref<QVectorOfQTextFormat>) -> Ref<QVectorOfQTextFormat>

Calls C++ function: QVector<QTextFormat>& QVector<QTextFormat>::operator<<(const QVector<QTextFormat>& l).

Source§

type Output = Ref<QVectorOfQTextFormat>

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

impl Size for QVectorOfQTextFormat

Source§

unsafe fn size(&self) -> usize

Calls C++ function: int QVector<QTextFormat>::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.