[][src]Struct qt_qml::QQmlImageProviderBase

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

Image providers must be registered with the QML engine. The only information the QML engine knows about image providers is the type of image data they provide. To use an image provider to acquire image data, you must cast the QQmlImageProviderBase pointer to a QQuickImageProvider pointer.

C++ class: QQmlImageProviderBase.

C++ documentation:

Image providers must be registered with the QML engine. The only information the QML engine knows about image providers is the type of image data they provide. To use an image provider to acquire image data, you must cast the QQmlImageProviderBase pointer to a QQuickImageProvider pointer.

Methods

impl QQmlImageProviderBase[src]

pub unsafe fn copy_from(
    &self,
    other: impl CastInto<Ref<QQmlImageProviderBase>>
) -> Ref<QQmlImageProviderBase>
[src]

Image providers must be registered with the QML engine. The only information the QML engine knows about image providers is the type of image data they provide. To use an image provider to acquire image data, you must cast the QQmlImageProviderBase pointer to a QQuickImageProvider pointer.

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

C++ documentation:

Image providers must be registered with the QML engine. The only information the QML engine knows about image providers is the type of image data they provide. To use an image provider to acquire image data, you must cast the QQmlImageProviderBase pointer to a QQuickImageProvider pointer.

pub unsafe fn flags(&self) -> QFlags<Flag>[src]

Implement this to return the properties of this image provider.

Calls C++ function: pure virtual QFlags<QQmlImageProviderBase::Flag> QQmlImageProviderBase::flags() const.

C++ documentation:

Implement this to return the properties of this image provider.

pub unsafe fn image_type(&self) -> ImageType[src]

Implement this method to return the image type supported by this image provider.

Calls C++ function: pure virtual QQmlImageProviderBase::ImageType QQmlImageProviderBase::imageType() const.

C++ documentation:

Implement this method to return the image type supported by this image provider.

Trait Implementations

impl CppDeletable for QQmlImageProviderBase[src]

unsafe fn delete(&self)[src]

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

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

impl<T> StaticUpcast<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.