Skip to main content

QXmlStreamAttributes

Struct QXmlStreamAttributes 

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

C++ class: QXmlStreamAttributes.

Implementations§

Source§

impl QXmlStreamAttributes

Source

pub unsafe fn append_3a( &self, namespace_uri: impl CastInto<Ref<QString>>, name: impl CastInto<Ref<QString>>, value: impl CastInto<Ref<QString>>, )

Calls C++ function: void QXmlStreamAttributes::append(const QString& namespaceUri, const QString& name, const QString& value).

Source

pub unsafe fn append_2a( &self, qualified_name: impl CastInto<Ref<QString>>, value: impl CastInto<Ref<QString>>, )

Calls C++ function: void QXmlStreamAttributes::append(const QString& qualifiedName, const QString& value).

Source

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

Calls C++ function: QXmlStreamAttributes& QXmlStreamAttributes::operator=(const QXmlStreamAttributes& other).

Source

pub unsafe fn has_attribute_q_string( &self, qualified_name: impl CastInto<Ref<QString>>, ) -> bool

Calls C++ function: bool QXmlStreamAttributes::hasAttribute(const QString& qualifiedName) const.

Source

pub unsafe fn has_attribute_q_latin1_string( &self, qualified_name: impl CastInto<Ref<QLatin1String>>, ) -> bool

Calls C++ function: bool QXmlStreamAttributes::hasAttribute(QLatin1String qualifiedName) const.

Source

pub unsafe fn has_attribute_2_q_string( &self, namespace_uri: impl CastInto<Ref<QString>>, name: impl CastInto<Ref<QString>>, ) -> bool

Calls C++ function: bool QXmlStreamAttributes::hasAttribute(const QString& namespaceUri, const QString& name) const.

Source

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

Calls C++ function: [constructor] void QXmlStreamAttributes::QXmlStreamAttributes().

Source

pub unsafe fn new_copy( other: impl CastInto<Ref<QXmlStreamAttributes>>, ) -> CppBox<QXmlStreamAttributes>

Calls C++ function: [constructor] void QXmlStreamAttributes::QXmlStreamAttributes(const QXmlStreamAttributes& other).

Source

pub unsafe fn value_2_q_string( &self, namespace_uri: impl CastInto<Ref<QString>>, name: impl CastInto<Ref<QString>>, ) -> CppBox<QStringRef>

Calls C++ function: QStringRef QXmlStreamAttributes::value(const QString& namespaceUri, const QString& name) const.

Source

pub unsafe fn value_q_string_q_latin1_string( &self, namespace_uri: impl CastInto<Ref<QString>>, name: impl CastInto<Ref<QLatin1String>>, ) -> CppBox<QStringRef>

Calls C++ function: QStringRef QXmlStreamAttributes::value(const QString& namespaceUri, QLatin1String name) const.

Source

pub unsafe fn value_2_q_latin1_string( &self, namespace_uri: impl CastInto<Ref<QLatin1String>>, name: impl CastInto<Ref<QLatin1String>>, ) -> CppBox<QStringRef>

Calls C++ function: QStringRef QXmlStreamAttributes::value(QLatin1String namespaceUri, QLatin1String name) const.

Source

pub unsafe fn value_q_string( &self, qualified_name: impl CastInto<Ref<QString>>, ) -> CppBox<QStringRef>

Calls C++ function: QStringRef QXmlStreamAttributes::value(const QString& qualifiedName) const.

Source

pub unsafe fn value_q_latin1_string( &self, qualified_name: impl CastInto<Ref<QLatin1String>>, ) -> CppBox<QStringRef>

Calls C++ function: QStringRef QXmlStreamAttributes::value(QLatin1String qualifiedName) const.

Methods from Deref<Target = QVectorOfQXmlStreamAttribute>§

Source

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

Calls C++ function: QVector<QXmlStreamAttribute>& QVector<QXmlStreamAttribute>::operator+=(const QVector<QXmlStreamAttribute>& l).

Source

pub unsafe fn add_assign_q_xml_stream_attribute( &self, t: impl CastInto<Ref<QXmlStreamAttribute>>, ) -> Ref<QVectorOfQXmlStreamAttribute>

Calls C++ function: QVector<QXmlStreamAttribute>& QVector<QXmlStreamAttribute>::operator+=(const QXmlStreamAttribute& t).

Source

pub unsafe fn append_q_xml_stream_attribute( &self, t: impl CastInto<Ref<QXmlStreamAttribute>>, )

Calls C++ function: void QVector<QXmlStreamAttribute>::append(const QXmlStreamAttribute& t).

Source

pub unsafe fn append_q_vector_of_q_xml_stream_attribute( &self, l: impl CastInto<Ref<QVectorOfQXmlStreamAttribute>>, )

Calls C++ function: void QVector<QXmlStreamAttribute>::append(const QVector<QXmlStreamAttribute>& l).

Source

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

Calls C++ function: const QXmlStreamAttribute& QVector<QXmlStreamAttribute>::at(int i) const.

Source

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

Calls C++ function: QXmlStreamAttribute& QVector<QXmlStreamAttribute>::back().

Source

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

Calls C++ function: const QXmlStreamAttribute& QVector<QXmlStreamAttribute>::back() const.

Source

pub unsafe fn capacity(&self) -> c_int

Calls C++ function: int QVector<QXmlStreamAttribute>::capacity() const.

Source

pub unsafe fn clear(&self)

Calls C++ function: void QVector<QXmlStreamAttribute>::clear().

Source

pub unsafe fn const_data(&self) -> Ptr<QXmlStreamAttribute>

Calls C++ function: const QXmlStreamAttribute* QVector<QXmlStreamAttribute>::constData() const.

Source

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

Calls C++ function: const QXmlStreamAttribute& QVector<QXmlStreamAttribute>::constFirst() const.

Source

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

Calls C++ function: const QXmlStreamAttribute& QVector<QXmlStreamAttribute>::constLast() const.

Source

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

Calls C++ function: bool QVector<QXmlStreamAttribute>::contains(const QXmlStreamAttribute& t) const.

Source

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

Calls C++ function: QVector<QXmlStreamAttribute>& QVector<QXmlStreamAttribute>::operator=(const QVector<QXmlStreamAttribute>& v).

Source

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

Calls C++ function: int QVector<QXmlStreamAttribute>::count(const QXmlStreamAttribute& t) const.

Source

pub unsafe fn count_0a(&self) -> c_int

Calls C++ function: int QVector<QXmlStreamAttribute>::count() const.

Source

pub unsafe fn data_mut(&self) -> Ptr<QXmlStreamAttribute>

Calls C++ function: QXmlStreamAttribute* QVector<QXmlStreamAttribute>::data().

Source

pub unsafe fn data(&self) -> Ptr<QXmlStreamAttribute>

Calls C++ function: const QXmlStreamAttribute* QVector<QXmlStreamAttribute>::data() const.

Source

pub unsafe fn detach(&self)

Calls C++ function: void QVector<QXmlStreamAttribute>::detach().

Source

pub unsafe fn empty(&self) -> bool

Calls C++ function: bool QVector<QXmlStreamAttribute>::empty() const.

Source

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

Calls C++ function: bool QVector<QXmlStreamAttribute>::endsWith(const QXmlStreamAttribute& t) const.

Source

pub unsafe fn fill_2a( &self, t: impl CastInto<Ref<QXmlStreamAttribute>>, size: c_int, ) -> Ref<QVectorOfQXmlStreamAttribute>

Calls C++ function: QVector<QXmlStreamAttribute>& QVector<QXmlStreamAttribute>::fill(const QXmlStreamAttribute& t, int size = …).

Source

pub unsafe fn fill_1a( &self, t: impl CastInto<Ref<QXmlStreamAttribute>>, ) -> Ref<QVectorOfQXmlStreamAttribute>

Calls C++ function: QVector<QXmlStreamAttribute>& QVector<QXmlStreamAttribute>::fill(const QXmlStreamAttribute& t).

Source

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

Calls C++ function: QXmlStreamAttribute& QVector<QXmlStreamAttribute>::first().

Source

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

Calls C++ function: const QXmlStreamAttribute& QVector<QXmlStreamAttribute>::first() const.

Source

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

Calls C++ function: QXmlStreamAttribute& QVector<QXmlStreamAttribute>::front().

Source

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

Calls C++ function: const QXmlStreamAttribute& QVector<QXmlStreamAttribute>::front() const.

Source

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

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

Source

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

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

Source

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

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

Source

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

Calls C++ function: int QVector<QXmlStreamAttribute>::indexOf(const QXmlStreamAttribute& t) const.

Source

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

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

Source

pub unsafe fn insert_3a( &self, i: c_int, n: c_int, t: impl CastInto<Ref<QXmlStreamAttribute>>, )

Calls C++ function: void QVector<QXmlStreamAttribute>::insert(int i, int n, const QXmlStreamAttribute& t).

Source

pub unsafe fn is_detached(&self) -> bool

Calls C++ function: bool QVector<QXmlStreamAttribute>::isDetached() const.

Source

pub unsafe fn is_empty(&self) -> bool

Calls C++ function: bool QVector<QXmlStreamAttribute>::isEmpty() const.

Source

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

Calls C++ function: bool QVector<QXmlStreamAttribute>::isSharedWith(const QVector<QXmlStreamAttribute>& other) const.

Source

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

Calls C++ function: QXmlStreamAttribute& QVector<QXmlStreamAttribute>::last().

Source

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

Calls C++ function: const QXmlStreamAttribute& QVector<QXmlStreamAttribute>::last() const.

Source

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

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

Source

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

Calls C++ function: int QVector<QXmlStreamAttribute>::lastIndexOf(const QXmlStreamAttribute& t) const.

Source

pub unsafe fn length(&self) -> c_int

Calls C++ function: int QVector<QXmlStreamAttribute>::length() const.

Source

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

Calls C++ function: QVector<QXmlStreamAttribute> QVector<QXmlStreamAttribute>::mid(int pos, int len = …) const.

Source

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

Calls C++ function: QVector<QXmlStreamAttribute> QVector<QXmlStreamAttribute>::mid(int pos) const.

Source

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

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

Source

pub unsafe fn pop_back(&self)

Calls C++ function: void QVector<QXmlStreamAttribute>::pop_back().

Source

pub unsafe fn pop_front(&self)

Calls C++ function: void QVector<QXmlStreamAttribute>::pop_front().

Source

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

Calls C++ function: void QVector<QXmlStreamAttribute>::prepend(const QXmlStreamAttribute& t).

Source

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

Calls C++ function: void QVector<QXmlStreamAttribute>::push_back(const QXmlStreamAttribute& t).

Source

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

Calls C++ function: void QVector<QXmlStreamAttribute>::push_front(const QXmlStreamAttribute& t).

Source

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

Calls C++ function: void QVector<QXmlStreamAttribute>::remove(int i).

Source

pub unsafe fn remove_2a(&self, i: c_int, n: c_int)

Calls C++ function: void QVector<QXmlStreamAttribute>::remove(int i, int n).

Source

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

Calls C++ function: int QVector<QXmlStreamAttribute>::removeAll(const QXmlStreamAttribute& t).

Source

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

Calls C++ function: void QVector<QXmlStreamAttribute>::removeAt(int i).

Source

pub unsafe fn remove_first(&self)

Calls C++ function: void QVector<QXmlStreamAttribute>::removeFirst().

Source

pub unsafe fn remove_last(&self)

Calls C++ function: void QVector<QXmlStreamAttribute>::removeLast().

Source

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

Calls C++ function: bool QVector<QXmlStreamAttribute>::removeOne(const QXmlStreamAttribute& t).

Source

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

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

Source

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

Calls C++ function: void QVector<QXmlStreamAttribute>::reserve(int size).

Source

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

Calls C++ function: void QVector<QXmlStreamAttribute>::resize(int size).

Source

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

Calls C++ function: void QVector<QXmlStreamAttribute>::setSharable(bool sharable).

Source

pub unsafe fn shrink_to_fit(&self)

Calls C++ function: void QVector<QXmlStreamAttribute>::shrink_to_fit().

Source

pub unsafe fn size(&self) -> c_int

Calls C++ function: int QVector<QXmlStreamAttribute>::size() const.

Source

pub unsafe fn squeeze(&self)

Calls C++ function: void QVector<QXmlStreamAttribute>::squeeze().

Source

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

Calls C++ function: bool QVector<QXmlStreamAttribute>::startsWith(const QXmlStreamAttribute& t) const.

Source

pub unsafe fn swap( &self, other: impl CastInto<Ref<QVectorOfQXmlStreamAttribute>>, )

Calls C++ function: void QVector<QXmlStreamAttribute>::swap(QVector<QXmlStreamAttribute>& other).

Source

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

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

Source

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

Calls C++ function: QXmlStreamAttribute QVector<QXmlStreamAttribute>::takeAt(int i).

Source

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

Calls C++ function: QXmlStreamAttribute QVector<QXmlStreamAttribute>::takeFirst().

Source

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

Calls C++ function: QXmlStreamAttribute QVector<QXmlStreamAttribute>::takeLast().

Source

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

Calls C++ function: QXmlStreamAttribute QVector<QXmlStreamAttribute>::value(int i) const.

Source

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

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

Trait Implementations§

Source§

impl CppDeletable for QXmlStreamAttributes

Source§

unsafe fn delete(&self)

Calls C++ function: [destructor] void QXmlStreamAttributes::~QXmlStreamAttributes().

Source§

impl Deref for QXmlStreamAttributes

Source§

fn deref(&self) -> &QVectorOfQXmlStreamAttribute

Calls C++ function: QVector<QXmlStreamAttribute>* static_cast<QVector<QXmlStreamAttribute>*>(QXmlStreamAttributes* ptr).

Source§

type Target = QVectorOfQXmlStreamAttribute

The resulting type after dereferencing.
Source§

impl StaticDowncast<QXmlStreamAttributes> for QVectorOfQXmlStreamAttribute

Source§

unsafe fn static_downcast( ptr: Ptr<QVectorOfQXmlStreamAttribute>, ) -> Ptr<QXmlStreamAttributes>

Calls C++ function: QXmlStreamAttributes* static_cast<QXmlStreamAttributes*>(QVector<QXmlStreamAttribute>* ptr).

Source§

impl StaticUpcast<QVectorOfQXmlStreamAttribute> for QXmlStreamAttributes

Source§

unsafe fn static_upcast( ptr: Ptr<QXmlStreamAttributes>, ) -> Ptr<QVectorOfQXmlStreamAttribute>

Calls C++ function: QVector<QXmlStreamAttribute>* static_cast<QVector<QXmlStreamAttribute>*>(QXmlStreamAttributes* ptr).

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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
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.