#[repr(C)]pub struct QXmlStreamNamespaceDeclaration { /* private fields */ }
Expand description
The QXmlStreamNamespaceDeclaration class represents a namespace declaration.
C++ class: QXmlStreamNamespaceDeclaration
.
The QXmlStreamNamespaceDeclaration class represents a namespace declaration.
An namespace declaration consists of a prefix() and a namespaceUri().
Implementations§
Source§impl QXmlStreamNamespaceDeclaration
impl QXmlStreamNamespaceDeclaration
Sourcepub unsafe fn copy_from(
&self,
arg1: impl CastInto<Ref<QXmlStreamNamespaceDeclaration>>,
) -> Ref<QXmlStreamNamespaceDeclaration>
pub unsafe fn copy_from( &self, arg1: impl CastInto<Ref<QXmlStreamNamespaceDeclaration>>, ) -> Ref<QXmlStreamNamespaceDeclaration>
Assigns other to this namespace declaration.
Calls C++ function: QXmlStreamNamespaceDeclaration& QXmlStreamNamespaceDeclaration::operator=(const QXmlStreamNamespaceDeclaration& arg1)
.
Assigns other to this namespace declaration.
Sourcepub unsafe fn namespace_uri(&self) -> CppBox<QStringRef>
pub unsafe fn namespace_uri(&self) -> CppBox<QStringRef>
Returns the namespaceUri.
Calls C++ function: QStringRef QXmlStreamNamespaceDeclaration::namespaceUri() const
.
Returns the namespaceUri.
Sourcepub unsafe fn new_0a() -> CppBox<QXmlStreamNamespaceDeclaration>
pub unsafe fn new_0a() -> CppBox<QXmlStreamNamespaceDeclaration>
Creates an empty namespace declaration.
Calls C++ function: [constructor] void QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration()
.
Creates an empty namespace declaration.
Sourcepub unsafe fn new_2a(
prefix: impl CastInto<Ref<QString>>,
namespace_uri: impl CastInto<Ref<QString>>,
) -> CppBox<QXmlStreamNamespaceDeclaration>
pub unsafe fn new_2a( prefix: impl CastInto<Ref<QString>>, namespace_uri: impl CastInto<Ref<QString>>, ) -> CppBox<QXmlStreamNamespaceDeclaration>
Creates a namespace declaration with prefix and namespaceUri.
Calls C++ function: [constructor] void QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration(const QString& prefix, const QString& namespaceUri)
.
Creates a namespace declaration with prefix and namespaceUri.
This function was introduced in Qt 4.4.
Sourcepub unsafe fn new_copy(
arg1: impl CastInto<Ref<QXmlStreamNamespaceDeclaration>>,
) -> CppBox<QXmlStreamNamespaceDeclaration>
pub unsafe fn new_copy( arg1: impl CastInto<Ref<QXmlStreamNamespaceDeclaration>>, ) -> CppBox<QXmlStreamNamespaceDeclaration>
Creates a copy of other.
Calls C++ function: [constructor] void QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration(const QXmlStreamNamespaceDeclaration& arg1)
.
Creates a copy of other.
Sourcepub unsafe fn prefix(&self) -> CppBox<QStringRef>
pub unsafe fn prefix(&self) -> CppBox<QStringRef>
Returns the prefix.
Calls C++ function: QStringRef QXmlStreamNamespaceDeclaration::prefix() const
.
Returns the prefix.
Trait Implementations§
Source§impl CppDeletable for QXmlStreamNamespaceDeclaration
impl CppDeletable for QXmlStreamNamespaceDeclaration
Source§impl PartialEq<Ref<QXmlStreamNamespaceDeclaration>> for QXmlStreamNamespaceDeclaration
impl PartialEq<Ref<QXmlStreamNamespaceDeclaration>> for QXmlStreamNamespaceDeclaration
Source§fn eq(&self, other: &Ref<QXmlStreamNamespaceDeclaration>) -> bool
fn eq(&self, other: &Ref<QXmlStreamNamespaceDeclaration>) -> bool
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
.
Compares this namespace declaration with other and returns true
if they are equal; otherwise returns false
.