Skip to main content

ConstIterator

Struct ConstIterator 

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

C++ class: QSet<QByteArray>::const_iterator.

Implementations§

Source§

impl ConstIterator

Source

pub unsafe fn add_assign(&self, j: c_int) -> Ref<ConstIterator>

Calls C++ function: QSet<QByteArray>::const_iterator& QSet<QByteArray>::const_iterator::operator+=(int j).

Source

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

Calls C++ function: QSet<QByteArray>::const_iterator& QSet<QByteArray>::const_iterator::operator=(const QSet<QByteArray>::const_iterator& o).

Source

pub unsafe fn dec(&self) -> Ref<ConstIterator>

Calls C++ function: QSet<QByteArray>::const_iterator& QSet<QByteArray>::const_iterator::operator--().

Source

pub unsafe fn dec_postfix(&self, arg1: c_int) -> CppBox<ConstIterator>

Calls C++ function: QSet<QByteArray>::const_iterator QSet<QByteArray>::const_iterator::operator--(int arg1).

Source

pub unsafe fn inc(&self) -> Ref<ConstIterator>

Calls C++ function: QSet<QByteArray>::const_iterator& QSet<QByteArray>::const_iterator::operator++().

Source

pub unsafe fn inc_postfix(&self, arg1: c_int) -> CppBox<ConstIterator>

Calls C++ function: QSet<QByteArray>::const_iterator QSet<QByteArray>::const_iterator::operator++(int arg1).

Source

pub unsafe fn indirection(&self) -> Ref<QByteArray>

Calls C++ function: const QByteArray& QSet<QByteArray>::const_iterator::operator*() const.

Source

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

Calls C++ function: [constructor] void QSet<QByteArray>::const_iterator::const_iterator().

Source

pub unsafe fn new_1a(o: impl CastInto<Ref<Iterator>>) -> CppBox<ConstIterator>

Calls C++ function: [constructor] void QSet<QByteArray>::const_iterator::const_iterator(const QSet<QByteArray>::iterator& o).

Source

pub unsafe fn new_copy( o: impl CastInto<Ref<ConstIterator>>, ) -> CppBox<ConstIterator>

Calls C++ function: [constructor] void QSet<QByteArray>::const_iterator::const_iterator(const QSet<QByteArray>::const_iterator& o).

Source

pub unsafe fn struct_deref(&self) -> Ptr<QByteArray>

Calls C++ function: const QByteArray* QSet<QByteArray>::const_iterator::operator->() const.

Source

pub unsafe fn sub_assign(&self, j: c_int) -> Ref<ConstIterator>

Calls C++ function: QSet<QByteArray>::const_iterator& QSet<QByteArray>::const_iterator::operator-=(int j).

Trait Implementations§

Source§

impl Add<i32> for &ConstIterator

Source§

fn add(self, j: c_int) -> CppBox<ConstIterator>

Calls C++ function: QSet<QByteArray>::const_iterator QSet<QByteArray>::const_iterator::operator+(int j) const.

Source§

type Output = CppBox<ConstIterator>

The resulting type after applying the + operator.
Source§

impl CppDeletable for ConstIterator

Source§

unsafe fn delete(&self)

Calls C++ function: [destructor] void QSet<QByteArray>::const_iterator::~const_iterator().

Source§

impl Decrement for ConstIterator

Source§

unsafe fn dec(&self) -> Ref<ConstIterator>

Calls C++ function: QSet<QByteArray>::const_iterator& QSet<QByteArray>::const_iterator::operator--().

Source§

type Output = Ref<ConstIterator>

Output type.
Source§

impl Increment for ConstIterator

Source§

unsafe fn inc(&self) -> Ref<ConstIterator>

Calls C++ function: QSet<QByteArray>::const_iterator& QSet<QByteArray>::const_iterator::operator++().

Source§

type Output = Ref<ConstIterator>

Output type.
Source§

impl Indirection for ConstIterator

Source§

unsafe fn indirection(&self) -> Ref<QByteArray>

Calls C++ function: const QByteArray& QSet<QByteArray>::const_iterator::operator*() const.

Source§

type Output = Ref<QByteArray>

Output type.
Source§

impl PartialEq<Ref<ConstIterator>> for ConstIterator

Source§

fn eq(&self, o: &Ref<ConstIterator>) -> bool

Calls C++ function: bool QSet<QByteArray>::const_iterator::operator==(const QSet<QByteArray>::const_iterator& o) 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 Sub<i32> for &ConstIterator

Source§

fn sub(self, j: c_int) -> CppBox<ConstIterator>

Calls C++ function: QSet<QByteArray>::const_iterator QSet<QByteArray>::const_iterator::operator-(int j) const.

Source§

type Output = CppBox<ConstIterator>

The resulting type after applying the - operator.

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.