[−][src]Struct qt_core::QXmlStreamNamespaceDeclaration
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().
Methods
impl QXmlStreamNamespaceDeclaration
[src]
pub unsafe fn copy_from(
&mut self,
arg1: impl CastInto<Ref<QXmlStreamNamespaceDeclaration>>
) -> MutRef<QXmlStreamNamespaceDeclaration>
[src]
&mut self,
arg1: impl CastInto<Ref<QXmlStreamNamespaceDeclaration>>
) -> MutRef<QXmlStreamNamespaceDeclaration>
Assigns other to this namespace declaration.
Calls C++ function: QXmlStreamNamespaceDeclaration& QXmlStreamNamespaceDeclaration::operator=(const QXmlStreamNamespaceDeclaration& arg1)
.
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
.
Returns the namespaceUri.
pub unsafe fn new_0a() -> CppBox<QXmlStreamNamespaceDeclaration>
[src]
Creates an empty namespace declaration.
Calls C++ function: [constructor] void QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration()
.
Creates an empty namespace declaration.
pub unsafe fn new_2a(
prefix: impl CastInto<Ref<QString>>,
namespace_uri: impl CastInto<Ref<QString>>
) -> CppBox<QXmlStreamNamespaceDeclaration>
[src]
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.
pub unsafe fn new_copy(
arg1: impl CastInto<Ref<QXmlStreamNamespaceDeclaration>>
) -> CppBox<QXmlStreamNamespaceDeclaration>
[src]
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.
pub unsafe fn prefix(&self) -> CppBox<QStringRef>
[src]
Returns the prefix.
Calls C++ function: QStringRef QXmlStreamNamespaceDeclaration::prefix() const
.
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
.
Compares this namespace declaration with other and returns true
if they are equal; otherwise returns false
.
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl CppDeletable for QXmlStreamNamespaceDeclaration
[src]
Auto Trait Implementations
impl Send for QXmlStreamNamespaceDeclaration
impl Sync for QXmlStreamNamespaceDeclaration
impl Unpin for QXmlStreamNamespaceDeclaration
impl UnwindSafe for QXmlStreamNamespaceDeclaration
impl RefUnwindSafe for QXmlStreamNamespaceDeclaration
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,