[][src]Struct qt_core::QXmlStreamNamespaceDeclaration

#[repr(C)]
pub struct QXmlStreamNamespaceDeclaration { /* fields omitted */ }

The QXmlStreamNamespaceDeclaration class represents a namespace declaration.

C++ class: QXmlStreamNamespaceDeclaration.

C++ documentation:

The QXmlStreamNamespaceDeclaration class represents a namespace declaration.

An namespace declaration consists of a prefix() and a namespaceUri().

Methods

impl QXmlStreamNamespaceDeclaration[src]

pub unsafe fn copy_from(
    &mut self,
    arg1: impl CastInto<Ref<QXmlStreamNamespaceDeclaration>>
) -> MutRef<QXmlStreamNamespaceDeclaration>
[src]

Assigns other to this namespace declaration.

Calls C++ function: QXmlStreamNamespaceDeclaration& QXmlStreamNamespaceDeclaration::operator=(const QXmlStreamNamespaceDeclaration& arg1).

C++ documentation:

Assigns other to this namespace declaration.

pub unsafe fn namespace_uri(&self) -> CppBox<QStringRef>[src]

Returns the namespaceUri.

Calls C++ function: QStringRef QXmlStreamNamespaceDeclaration::namespaceUri() const.

C++ documentation:

Returns the namespaceUri.

pub unsafe fn new_0a() -> CppBox<QXmlStreamNamespaceDeclaration>[src]

Creates an empty namespace declaration.

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

C++ documentation:

Creates an empty namespace declaration.

pub unsafe fn new_2a(
    prefix: impl CastInto<Ref<QString>>,
    namespace_uri: impl CastInto<Ref<QString>>
) -> CppBox<QXmlStreamNamespaceDeclaration>
[src]

Creates a namespace declaration with prefix and namespaceUri.

Calls C++ function: [constructor] void QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration(const QString& prefix, const QString& namespaceUri).

C++ documentation:

Creates a namespace declaration with prefix and namespaceUri.

This function was introduced in Qt 4.4.

pub unsafe fn new_copy(
    arg1: impl CastInto<Ref<QXmlStreamNamespaceDeclaration>>
) -> CppBox<QXmlStreamNamespaceDeclaration>
[src]

Creates a copy of other.

Calls C++ function: [constructor] void QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration(const QXmlStreamNamespaceDeclaration& arg1).

C++ documentation:

Creates a copy of other.

pub unsafe fn prefix(&self) -> CppBox<QStringRef>[src]

Returns the prefix.

Calls C++ function: QStringRef QXmlStreamNamespaceDeclaration::prefix() const.

C++ documentation:

Returns the prefix.

Trait Implementations

impl PartialEq<Ref<QXmlStreamNamespaceDeclaration>> for QXmlStreamNamespaceDeclaration[src]

fn eq(&self, other: &Ref<QXmlStreamNamespaceDeclaration>) -> bool[src]

Compares this namespace declaration with other and returns true if they are equal; otherwise returns false.

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

C++ documentation:

Compares this namespace declaration with other and returns true if they are equal; otherwise returns false.

impl CppDeletable for QXmlStreamNamespaceDeclaration[src]

unsafe fn delete(&mut self)[src]

Destructs this namespace declaration.

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

C++ documentation:

Destructs this namespace declaration.

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]