Skip to main content

QListOfWritingSystem

Struct QListOfWritingSystem 

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

C++ class: QList<QFontDatabase::WritingSystem>.

Implementations§

Source§

impl QListOfWritingSystem

Source

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

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

Source

pub unsafe fn add_assign_writing_system( &self, t: *const WritingSystem, ) -> Ref<QListOfWritingSystem>

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

Source

pub unsafe fn append_writing_system(&self, t: *const WritingSystem)

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

Source

pub unsafe fn append_q_list_of_writing_system( &self, t: impl CastInto<Ref<QListOfWritingSystem>>, )

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

Source

pub unsafe fn at(&self, i: c_int) -> *const WritingSystem

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

Source

pub unsafe fn back_mut(&self) -> *mut WritingSystem

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

Source

pub unsafe fn back(&self) -> *const WritingSystem

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn clear(&self)

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

Source

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

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

Source

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

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

Source

pub unsafe fn const_first(&self) -> *const WritingSystem

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

Source

pub unsafe fn const_last(&self) -> *const WritingSystem

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

Source

pub unsafe fn contains(&self, t: *const WritingSystem) -> bool

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

Source

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

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

Source

pub unsafe fn count_1a(&self, t: *const WritingSystem) -> c_int

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

Source

pub unsafe fn count_0a(&self) -> c_int

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

Source

pub unsafe fn detach(&self)

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

Source

pub unsafe fn detach_shared(&self)

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

Source

pub unsafe fn empty(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub unsafe fn ends_with(&self, t: *const WritingSystem) -> bool

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

Source

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

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

Source

pub unsafe fn first_mut(&self) -> *mut WritingSystem

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

Source

pub unsafe fn first(&self) -> *const WritingSystem

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

Source

pub unsafe fn front_mut(&self) -> *mut WritingSystem

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

Source

pub unsafe fn front(&self) -> *const WritingSystem

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

Source

pub unsafe fn index(&self, i: c_int) -> *const WritingSystem

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

Source

pub unsafe fn index_mut(&self, i: c_int) -> *mut WritingSystem

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

Source

pub unsafe fn index_of_2a(&self, t: *const WritingSystem, from: c_int) -> c_int

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

Source

pub unsafe fn index_of_1a(&self, t: *const WritingSystem) -> c_int

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

Source

pub unsafe fn insert_int_writing_system( &self, i: c_int, t: *const WritingSystem, )

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

Source

pub unsafe fn insert_iterator_writing_system( &self, before: impl CastInto<Ref<Iterator>>, t: *const WritingSystem, ) -> CppBox<Iterator>

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

Source

pub unsafe fn is_detached(&self) -> bool

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

Source

pub unsafe fn is_empty(&self) -> bool

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

Source

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

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

Source

pub unsafe fn last_mut(&self) -> *mut WritingSystem

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

Source

pub unsafe fn last(&self) -> *const WritingSystem

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

Source

pub unsafe fn last_index_of_2a( &self, t: *const WritingSystem, from: c_int, ) -> c_int

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

Source

pub unsafe fn last_index_of_1a(&self, t: *const WritingSystem) -> c_int

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

Source

pub unsafe fn length(&self) -> c_int

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn pop_back(&self)

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

Source

pub unsafe fn pop_front(&self)

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

Source

pub unsafe fn prepend(&self, t: *const WritingSystem)

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

Source

pub unsafe fn push_back(&self, t: *const WritingSystem)

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

Source

pub unsafe fn push_front(&self, t: *const WritingSystem)

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

Source

pub unsafe fn remove_all(&self, t: *const WritingSystem) -> c_int

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

Source

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

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

Source

pub unsafe fn remove_first(&self)

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

Source

pub unsafe fn remove_last(&self)

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

Source

pub unsafe fn remove_one(&self, t: *const WritingSystem) -> bool

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

Source

pub unsafe fn replace(&self, i: c_int, t: *const WritingSystem)

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

Source

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

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

Source

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

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

Source

pub unsafe fn size(&self) -> c_int

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

Source

pub unsafe fn starts_with(&self, t: *const WritingSystem) -> bool

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn take_at(&self, i: c_int) -> WritingSystem

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

Source

pub unsafe fn take_first(&self) -> WritingSystem

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

Source

pub unsafe fn take_last(&self) -> WritingSystem

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

Source

pub unsafe fn value_1a(&self, i: c_int) -> WritingSystem

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

Source

pub unsafe fn value_2a( &self, i: c_int, default_value: *const WritingSystem, ) -> WritingSystem

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

Trait Implementations§

Source§

impl Add<Ref<QListOfWritingSystem>> for &QListOfWritingSystem

Source§

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

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

Source§

type Output = CppBox<QListOfWritingSystem>

The resulting type after applying the + operator.
Source§

impl Begin for QListOfWritingSystem

Source§

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

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

Source§

type Output = CppBox<ConstIterator>

Output type.
Source§

impl BeginMut for QListOfWritingSystem

Source§

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

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

Source§

type Output = CppBox<Iterator>

Output type.
Source§

impl CppDeletable for QListOfWritingSystem

Source§

unsafe fn delete(&self)

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

Source§

impl End for QListOfWritingSystem

Source§

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

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

Source§

type Output = CppBox<ConstIterator>

Output type.
Source§

impl EndMut for QListOfWritingSystem

Source§

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

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

Source§

type Output = CppBox<Iterator>

Output type.
Source§

impl Ge<Ref<QListOfWritingSystem>> for QListOfWritingSystem

Source§

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

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

Source§

impl Gt<Ref<QListOfWritingSystem>> for QListOfWritingSystem

Source§

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

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

Source§

impl Le<Ref<QListOfWritingSystem>> for QListOfWritingSystem

Source§

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

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

Source§

impl Lt<Ref<QListOfWritingSystem>> for QListOfWritingSystem

Source§

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

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

Source§

impl PartialEq<Ref<QListOfWritingSystem>> for QListOfWritingSystem

Source§

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

Calls C++ function: bool QList<QFontDatabase::WritingSystem>::operator==(const QList<QFontDatabase::WritingSystem>& 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<*const WritingSystem> for &QListOfWritingSystem

Source§

fn shl(self, t: *const WritingSystem) -> Ref<QListOfWritingSystem>

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

Source§

type Output = Ref<QListOfWritingSystem>

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

impl Shl<Ref<QListOfWritingSystem>> for &QListOfWritingSystem

Source§

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

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

Source§

type Output = Ref<QListOfWritingSystem>

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

impl Size for QListOfWritingSystem

Source§

unsafe fn size(&self) -> usize

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