Skip to main content

QListOfQTextBlock

Struct QListOfQTextBlock 

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

C++ class: QList<QTextBlock>.

Implementations§

Source§

impl QListOfQTextBlock

Source

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

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

Source

pub unsafe fn add_assign_q_text_block( &self, t: impl CastInto<Ref<QTextBlock>>, ) -> Ref<QListOfQTextBlock>

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

Source

pub unsafe fn append_q_text_block(&self, t: impl CastInto<Ref<QTextBlock>>)

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

Source

pub unsafe fn append_q_list_of_q_text_block( &self, t: impl CastInto<Ref<QListOfQTextBlock>>, )

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn clear(&self)

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn count_0a(&self) -> c_int

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

Source

pub unsafe fn detach(&self)

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

Source

pub unsafe fn detach_shared(&self)

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

Source

pub unsafe fn empty(&self) -> bool

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

Source

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

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

Source

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

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

Source

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

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

Source

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

Calls C++ function: QList<QTextBlock>::iterator QList<QTextBlock>::erase(QList<QTextBlock>::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<QTextBlock>::iterator QList<QTextBlock>::erase(QList<QTextBlock>::iterator first, QList<QTextBlock>::iterator last).

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn is_detached(&self) -> bool

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

Source

pub unsafe fn is_empty(&self) -> bool

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn length(&self) -> c_int

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn pop_back(&self)

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

Source

pub unsafe fn pop_front(&self)

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn remove_first(&self)

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

Source

pub unsafe fn remove_last(&self)

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn size(&self) -> c_int

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Trait Implementations§

Source§

impl Add<Ref<QListOfQTextBlock>> for &QListOfQTextBlock

Source§

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

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

Source§

type Output = CppBox<QListOfQTextBlock>

The resulting type after applying the + operator.
Source§

impl Begin for QListOfQTextBlock

Source§

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

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

Source§

type Output = CppBox<ConstIterator>

Output type.
Source§

impl BeginMut for QListOfQTextBlock

Source§

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

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

Source§

type Output = CppBox<Iterator>

Output type.
Source§

impl CppDeletable for QListOfQTextBlock

Source§

unsafe fn delete(&self)

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

Source§

impl End for QListOfQTextBlock

Source§

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

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

Source§

type Output = CppBox<ConstIterator>

Output type.
Source§

impl EndMut for QListOfQTextBlock

Source§

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

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

Source§

type Output = CppBox<Iterator>

Output type.
Source§

impl Ge<Ref<QListOfQTextBlock>> for QListOfQTextBlock

Source§

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

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

Source§

impl Gt<Ref<QListOfQTextBlock>> for QListOfQTextBlock

Source§

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

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

Source§

impl Le<Ref<QListOfQTextBlock>> for QListOfQTextBlock

Source§

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

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

Source§

impl Lt<Ref<QListOfQTextBlock>> for QListOfQTextBlock

Source§

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

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

Source§

impl PartialEq<Ref<QListOfQTextBlock>> for QListOfQTextBlock

Source§

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

Calls C++ function: bool QList<QTextBlock>::operator==(const QList<QTextBlock>& 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<QListOfQTextBlock>> for &QListOfQTextBlock

Source§

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

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

Source§

type Output = Ref<QListOfQTextBlock>

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

impl Shl<Ref<QTextBlock>> for &QListOfQTextBlock

Source§

fn shl(self, t: Ref<QTextBlock>) -> Ref<QListOfQTextBlock>

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

Source§

type Output = Ref<QListOfQTextBlock>

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

impl Size for QListOfQTextBlock

Source§

unsafe fn size(&self) -> usize

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