Skip to main content

QListOfAttribute

Struct QListOfAttribute 

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

C++ class: QList<QInputMethodEvent::Attribute>.

Implementations§

Source§

impl QListOfAttribute

Source

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

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

Source

pub unsafe fn add_assign_attribute( &self, t: impl CastInto<Ref<Attribute>>, ) -> Ref<QListOfAttribute>

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

Source

pub unsafe fn append_attribute(&self, t: impl CastInto<Ref<Attribute>>)

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

Source

pub unsafe fn append_q_list_of_attribute( &self, t: impl CastInto<Ref<QListOfAttribute>>, )

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn clear(&self)

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn count(&self) -> c_int

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

Source

pub unsafe fn detach(&self)

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

Source

pub unsafe fn detach_shared(&self)

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

Source

pub unsafe fn empty(&self) -> bool

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn is_detached(&self) -> bool

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

Source

pub unsafe fn is_empty(&self) -> bool

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn length(&self) -> c_int

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn pop_back(&self)

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

Source

pub unsafe fn pop_front(&self)

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn remove_first(&self)

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

Source

pub unsafe fn remove_last(&self)

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

Source

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

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

Source

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

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

Source

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

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

Source

pub unsafe fn size(&self) -> c_int

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Trait Implementations§

Source§

impl Add<Ref<QListOfAttribute>> for &QListOfAttribute

Source§

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

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

Source§

type Output = CppBox<QListOfAttribute>

The resulting type after applying the + operator.
Source§

impl Begin for QListOfAttribute

Source§

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

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

Source§

type Output = CppBox<ConstIterator>

Output type.
Source§

impl BeginMut for QListOfAttribute

Source§

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

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

Source§

type Output = CppBox<Iterator>

Output type.
Source§

impl CppDeletable for QListOfAttribute

Source§

unsafe fn delete(&self)

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

Source§

impl End for QListOfAttribute

Source§

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

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

Source§

type Output = CppBox<ConstIterator>

Output type.
Source§

impl EndMut for QListOfAttribute

Source§

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

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

Source§

type Output = CppBox<Iterator>

Output type.
Source§

impl Shl<Ref<Attribute>> for &QListOfAttribute

Source§

fn shl(self, t: Ref<Attribute>) -> Ref<QListOfAttribute>

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

Source§

type Output = Ref<QListOfAttribute>

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

impl Shl<Ref<QListOfAttribute>> for &QListOfAttribute

Source§

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

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

Source§

type Output = Ref<QListOfAttribute>

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

impl Size for QListOfAttribute

Source§

unsafe fn size(&self) -> usize

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