Skip to main content

QListOfFormatRange

Struct QListOfFormatRange 

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

C++ class: QList<QTextLayout::FormatRange>.

Implementations§

Source§

impl QListOfFormatRange

Source

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

Calls C++ function: QList<QTextLayout::FormatRange>& QList<QTextLayout::FormatRange>::operator+=(const QList<QTextLayout::FormatRange>& l).

Source

pub unsafe fn add_assign_format_range( &self, t: impl CastInto<Ref<FormatRange>>, ) -> Ref<QListOfFormatRange>

Calls C++ function: QList<QTextLayout::FormatRange>& QList<QTextLayout::FormatRange>::operator+=(const QTextLayout::FormatRange& t).

Source

pub unsafe fn append_format_range(&self, t: impl CastInto<Ref<FormatRange>>)

Calls C++ function: void QList<QTextLayout::FormatRange>::append(const QTextLayout::FormatRange& t).

Source

pub unsafe fn append_q_list_of_format_range( &self, t: impl CastInto<Ref<QListOfFormatRange>>, )

Calls C++ function: void QList<QTextLayout::FormatRange>::append(const QList<QTextLayout::FormatRange>& t).

Source

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

Calls C++ function: const QTextLayout::FormatRange& QList<QTextLayout::FormatRange>::at(int i) const.

Source

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

Calls C++ function: QTextLayout::FormatRange& QList<QTextLayout::FormatRange>::back().

Source

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

Calls C++ function: const QTextLayout::FormatRange& QList<QTextLayout::FormatRange>::back() const.

Source

pub unsafe fn begin_mut(&self) -> CppBox<Iterator>

Calls C++ function: QList<QTextLayout::FormatRange>::iterator QList<QTextLayout::FormatRange>::begin().

Source

pub unsafe fn begin(&self) -> CppBox<ConstIterator>

Calls C++ function: QList<QTextLayout::FormatRange>::const_iterator QList<QTextLayout::FormatRange>::begin() const.

Source

pub unsafe fn cbegin(&self) -> CppBox<ConstIterator>

Calls C++ function: QList<QTextLayout::FormatRange>::const_iterator QList<QTextLayout::FormatRange>::cbegin() const.

Source

pub unsafe fn cend(&self) -> CppBox<ConstIterator>

Calls C++ function: QList<QTextLayout::FormatRange>::const_iterator QList<QTextLayout::FormatRange>::cend() const.

Source

pub unsafe fn clear(&self)

Calls C++ function: void QList<QTextLayout::FormatRange>::clear().

Source

pub unsafe fn const_begin(&self) -> CppBox<ConstIterator>

Calls C++ function: QList<QTextLayout::FormatRange>::const_iterator QList<QTextLayout::FormatRange>::constBegin() const.

Source

pub unsafe fn const_end(&self) -> CppBox<ConstIterator>

Calls C++ function: QList<QTextLayout::FormatRange>::const_iterator QList<QTextLayout::FormatRange>::constEnd() const.

Source

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

Calls C++ function: const QTextLayout::FormatRange& QList<QTextLayout::FormatRange>::constFirst() const.

Source

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

Calls C++ function: const QTextLayout::FormatRange& QList<QTextLayout::FormatRange>::constLast() const.

Source

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

Calls C++ function: bool QList<QTextLayout::FormatRange>::contains(const QTextLayout::FormatRange& t) const.

Source

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

Calls C++ function: QList<QTextLayout::FormatRange>& QList<QTextLayout::FormatRange>::operator=(const QList<QTextLayout::FormatRange>& l).

Source

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

Calls C++ function: int QList<QTextLayout::FormatRange>::count(const QTextLayout::FormatRange& t) const.

Source

pub unsafe fn count_0a(&self) -> c_int

Calls C++ function: int QList<QTextLayout::FormatRange>::count() const.

Source

pub unsafe fn detach(&self)

Calls C++ function: void QList<QTextLayout::FormatRange>::detach().

Source

pub unsafe fn detach_shared(&self)

Calls C++ function: void QList<QTextLayout::FormatRange>::detachShared().

Source

pub unsafe fn empty(&self) -> bool

Calls C++ function: bool QList<QTextLayout::FormatRange>::empty() const.

Source

pub unsafe fn end_mut(&self) -> CppBox<Iterator>

Calls C++ function: QList<QTextLayout::FormatRange>::iterator QList<QTextLayout::FormatRange>::end().

Source

pub unsafe fn end(&self) -> CppBox<ConstIterator>

Calls C++ function: QList<QTextLayout::FormatRange>::const_iterator QList<QTextLayout::FormatRange>::end() const.

Source

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

Calls C++ function: bool QList<QTextLayout::FormatRange>::endsWith(const QTextLayout::FormatRange& t) const.

Source

pub unsafe fn erase_1a( &self, pos: impl CastInto<Ref<Iterator>>, ) -> CppBox<Iterator>

Calls C++ function: QList<QTextLayout::FormatRange>::iterator QList<QTextLayout::FormatRange>::erase(QList<QTextLayout::FormatRange>::iterator pos).

Source

pub unsafe fn erase_2a( &self, first: impl CastInto<Ref<Iterator>>, last: impl CastInto<Ref<Iterator>>, ) -> CppBox<Iterator>

Calls C++ function: QList<QTextLayout::FormatRange>::iterator QList<QTextLayout::FormatRange>::erase(QList<QTextLayout::FormatRange>::iterator first, QList<QTextLayout::FormatRange>::iterator last).

Source

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

Calls C++ function: QTextLayout::FormatRange& QList<QTextLayout::FormatRange>::first().

Source

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

Calls C++ function: const QTextLayout::FormatRange& QList<QTextLayout::FormatRange>::first() const.

Source

pub unsafe fn from_vector( vector: impl CastInto<Ref<QVectorOfFormatRange>>, ) -> CppBox<QListOfFormatRange>

Calls C++ function: static QList<QTextLayout::FormatRange> QList<QTextLayout::FormatRange>::fromVector(const QVector<QTextLayout::FormatRange>& vector).

Source

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

Calls C++ function: QTextLayout::FormatRange& QList<QTextLayout::FormatRange>::front().

Source

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

Calls C++ function: const QTextLayout::FormatRange& QList<QTextLayout::FormatRange>::front() const.

Source

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

Calls C++ function: const QTextLayout::FormatRange& QList<QTextLayout::FormatRange>::operator[](int i) const.

Source

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

Calls C++ function: QTextLayout::FormatRange& QList<QTextLayout::FormatRange>::operator[](int i).

Source

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

Calls C++ function: int QList<QTextLayout::FormatRange>::indexOf(const QTextLayout::FormatRange& t, int from = …) const.

Source

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

Calls C++ function: int QList<QTextLayout::FormatRange>::indexOf(const QTextLayout::FormatRange& t) const.

Source

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

Calls C++ function: void QList<QTextLayout::FormatRange>::insert(int i, const QTextLayout::FormatRange& t).

Source

pub unsafe fn insert_iterator_format_range( &self, before: impl CastInto<Ref<Iterator>>, t: impl CastInto<Ref<FormatRange>>, ) -> CppBox<Iterator>

Calls C++ function: QList<QTextLayout::FormatRange>::iterator QList<QTextLayout::FormatRange>::insert(QList<QTextLayout::FormatRange>::iterator before, const QTextLayout::FormatRange& t).

Source

pub unsafe fn is_detached(&self) -> bool

Calls C++ function: bool QList<QTextLayout::FormatRange>::isDetached() const.

Source

pub unsafe fn is_empty(&self) -> bool

Calls C++ function: bool QList<QTextLayout::FormatRange>::isEmpty() const.

Source

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

Calls C++ function: bool QList<QTextLayout::FormatRange>::isSharedWith(const QList<QTextLayout::FormatRange>& other) const.

Source

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

Calls C++ function: QTextLayout::FormatRange& QList<QTextLayout::FormatRange>::last().

Source

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

Calls C++ function: const QTextLayout::FormatRange& QList<QTextLayout::FormatRange>::last() const.

Source

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

Calls C++ function: int QList<QTextLayout::FormatRange>::lastIndexOf(const QTextLayout::FormatRange& t, int from = …) const.

Source

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

Calls C++ function: int QList<QTextLayout::FormatRange>::lastIndexOf(const QTextLayout::FormatRange& t) const.

Source

pub unsafe fn length(&self) -> c_int

Calls C++ function: int QList<QTextLayout::FormatRange>::length() const.

Source

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

Calls C++ function: QList<QTextLayout::FormatRange> QList<QTextLayout::FormatRange>::mid(int pos, int length = …) const.

Source

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

Calls C++ function: QList<QTextLayout::FormatRange> QList<QTextLayout::FormatRange>::mid(int pos) const.

Source

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

Calls C++ function: void QList<QTextLayout::FormatRange>::move(int from, int to).

Source

pub unsafe fn new() -> CppBox<QListOfFormatRange>

Calls C++ function: [constructor] void QList<QTextLayout::FormatRange>::QList().

Source

pub unsafe fn new_copy( l: impl CastInto<Ref<QListOfFormatRange>>, ) -> CppBox<QListOfFormatRange>

Calls C++ function: [constructor] void QList<QTextLayout::FormatRange>::QList(const QList<QTextLayout::FormatRange>& l).

Source

pub unsafe fn pop_back(&self)

Calls C++ function: void QList<QTextLayout::FormatRange>::pop_back().

Source

pub unsafe fn pop_front(&self)

Calls C++ function: void QList<QTextLayout::FormatRange>::pop_front().

Source

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

Calls C++ function: void QList<QTextLayout::FormatRange>::prepend(const QTextLayout::FormatRange& t).

Source

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

Calls C++ function: void QList<QTextLayout::FormatRange>::push_back(const QTextLayout::FormatRange& t).

Source

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

Calls C++ function: void QList<QTextLayout::FormatRange>::push_front(const QTextLayout::FormatRange& t).

Source

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

Calls C++ function: int QList<QTextLayout::FormatRange>::removeAll(const QTextLayout::FormatRange& t).

Source

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

Calls C++ function: void QList<QTextLayout::FormatRange>::removeAt(int i).

Source

pub unsafe fn remove_first(&self)

Calls C++ function: void QList<QTextLayout::FormatRange>::removeFirst().

Source

pub unsafe fn remove_last(&self)

Calls C++ function: void QList<QTextLayout::FormatRange>::removeLast().

Source

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

Calls C++ function: bool QList<QTextLayout::FormatRange>::removeOne(const QTextLayout::FormatRange& t).

Source

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

Calls C++ function: void QList<QTextLayout::FormatRange>::replace(int i, const QTextLayout::FormatRange& t).

Source

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

Calls C++ function: void QList<QTextLayout::FormatRange>::reserve(int size).

Source

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

Calls C++ function: void QList<QTextLayout::FormatRange>::setSharable(bool sharable).

Source

pub unsafe fn size(&self) -> c_int

Calls C++ function: int QList<QTextLayout::FormatRange>::size() const.

Source

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

Calls C++ function: bool QList<QTextLayout::FormatRange>::startsWith(const QTextLayout::FormatRange& t) const.

Source

pub unsafe fn swap_1a(&self, other: impl CastInto<Ref<QListOfFormatRange>>)

Calls C++ function: void QList<QTextLayout::FormatRange>::swap(QList<QTextLayout::FormatRange>& other).

Source

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

Calls C++ function: void QList<QTextLayout::FormatRange>::swap(int i, int j).

Source

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

Calls C++ function: void QList<QTextLayout::FormatRange>::swapItemsAt(int i, int j).

Source

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

Calls C++ function: QTextLayout::FormatRange QList<QTextLayout::FormatRange>::takeAt(int i).

Source

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

Calls C++ function: QTextLayout::FormatRange QList<QTextLayout::FormatRange>::takeFirst().

Source

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

Calls C++ function: QTextLayout::FormatRange QList<QTextLayout::FormatRange>::takeLast().

Source

pub unsafe fn to_vector(&self) -> CppBox<QVectorOfFormatRange>

Calls C++ function: QVector<QTextLayout::FormatRange> QList<QTextLayout::FormatRange>::toVector() const.

Source

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

Calls C++ function: QTextLayout::FormatRange QList<QTextLayout::FormatRange>::value(int i) const.

Source

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

Calls C++ function: QTextLayout::FormatRange QList<QTextLayout::FormatRange>::value(int i, const QTextLayout::FormatRange& defaultValue) const.

Trait Implementations§

Source§

impl Add<Ref<QListOfFormatRange>> for &QListOfFormatRange

Source§

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

Calls C++ function: QList<QTextLayout::FormatRange> QList<QTextLayout::FormatRange>::operator+(const QList<QTextLayout::FormatRange>& l) const.

Source§

type Output = CppBox<QListOfFormatRange>

The resulting type after applying the + operator.
Source§

impl Begin for QListOfFormatRange

Source§

unsafe fn begin(&self) -> CppBox<ConstIterator>

Calls C++ function: QList<QTextLayout::FormatRange>::const_iterator QList<QTextLayout::FormatRange>::begin() const.

Source§

type Output = CppBox<ConstIterator>

Output type.
Source§

impl BeginMut for QListOfFormatRange

Source§

unsafe fn begin_mut(&self) -> CppBox<Iterator>

Calls C++ function: QList<QTextLayout::FormatRange>::iterator QList<QTextLayout::FormatRange>::begin().

Source§

type Output = CppBox<Iterator>

Output type.
Source§

impl CppDeletable for QListOfFormatRange

Source§

unsafe fn delete(&self)

Calls C++ function: [destructor] void QList<QTextLayout::FormatRange>::~QList().

Source§

impl End for QListOfFormatRange

Source§

unsafe fn end(&self) -> CppBox<ConstIterator>

Calls C++ function: QList<QTextLayout::FormatRange>::const_iterator QList<QTextLayout::FormatRange>::end() const.

Source§

type Output = CppBox<ConstIterator>

Output type.
Source§

impl EndMut for QListOfFormatRange

Source§

unsafe fn end_mut(&self) -> CppBox<Iterator>

Calls C++ function: QList<QTextLayout::FormatRange>::iterator QList<QTextLayout::FormatRange>::end().

Source§

type Output = CppBox<Iterator>

Output type.
Source§

impl PartialEq<Ref<QListOfFormatRange>> for QListOfFormatRange

Source§

fn eq(&self, l: &Ref<QListOfFormatRange>) -> bool

Calls C++ function: bool QList<QTextLayout::FormatRange>::operator==(const QList<QTextLayout::FormatRange>& l) 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<FormatRange>> for &QListOfFormatRange

Source§

fn shl(self, t: Ref<FormatRange>) -> Ref<QListOfFormatRange>

Calls C++ function: QList<QTextLayout::FormatRange>& QList<QTextLayout::FormatRange>::operator<<(const QTextLayout::FormatRange& t).

Source§

type Output = Ref<QListOfFormatRange>

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

impl Shl<Ref<QListOfFormatRange>> for &QListOfFormatRange

Source§

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

Calls C++ function: QList<QTextLayout::FormatRange>& QList<QTextLayout::FormatRange>::operator<<(const QList<QTextLayout::FormatRange>& l).

Source§

type Output = Ref<QListOfFormatRange>

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

impl Size for QListOfFormatRange

Source§

unsafe fn size(&self) -> usize

Calls C++ function: int QList<QTextLayout::FormatRange>::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.