#[repr(C)]
pub struct QXmlStreamEntityResolver { /* private fields */ }
Expand description

The QXmlStreamEntityResolver class provides an entity resolver for a QXmlStreamReader.

C++ class: QXmlStreamEntityResolver.

C++ documentation:

The QXmlStreamEntityResolver class provides an entity resolver for a QXmlStreamReader.

Implementations§

source§

impl QXmlStreamEntityResolver

source

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

The QXmlStreamEntityResolver class provides an entity resolver for a QXmlStreamReader.

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

C++ documentation:

The QXmlStreamEntityResolver class provides an entity resolver for a QXmlStreamReader.

source

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

The QXmlStreamEntityResolver class provides an entity resolver for a QXmlStreamReader.

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

C++ documentation:

The QXmlStreamEntityResolver class provides an entity resolver for a QXmlStreamReader.

source

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

The QXmlStreamEntityResolver class provides an entity resolver for a QXmlStreamReader.

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

C++ documentation:

The QXmlStreamEntityResolver class provides an entity resolver for a QXmlStreamReader.

source

pub unsafe fn resolve_entity( &self, public_id: impl CastInto<Ref<QString>>, system_id: impl CastInto<Ref<QString>> ) -> CppBox<QString>

Calls C++ function: virtual QString QXmlStreamEntityResolver::resolveEntity(const QString& publicId, const QString& systemId).

source

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

Resolves the undeclared entity name and returns its replacement text. If the entity is also unknown to the entity resolver, it returns an empty string.

Calls C++ function: virtual QString QXmlStreamEntityResolver::resolveUndeclaredEntity(const QString& name).

C++ documentation:

Resolves the undeclared entity name and returns its replacement text. If the entity is also unknown to the entity resolver, it returns an empty string.

The default implementation always returns an empty string.

Trait Implementations§

source§

impl CppDeletable for QXmlStreamEntityResolver

source§

unsafe fn delete(&self)

Destroys the entity resolver.

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

C++ documentation:

Destroys the entity resolver.

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>,

§

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>,

§

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.