[−][src]Struct qt_qml::q_qml_image_provider_base::ImageType
Defines the type of image supported by this image provider.
C++ enum: QQmlImageProviderBase::ImageType
.
Defines the type of image supported by this image provider.
Methods
impl ImageType
[src]
impl ImageType
[src]
pub const Image: ImageType
[src]
The Image Provider provides QImage images. The QQuickImageProvider::requestImage() method will be called for all image requests. (C++ enum variant: Image = 0
)
pub const Pixmap: ImageType
[src]
The Image Provider provides QPixmap images. The QQuickImageProvider::requestPixmap() method will be called for all image requests. (C++ enum variant: Pixmap = 1
)
pub const Texture: ImageType
[src]
The Image Provider provides QSGTextureProvider based images. The QQuickImageProvider::requestTexture() method will be called for all image requests. (C++ enum variant: Texture = 2
)
pub const Invalid: ImageType
[src]
C++ enum variant: Invalid = 3
pub const ImageResponse: ImageType
[src]
The Image provider provides QQuickTextureFactory based images. Should only be used in QQuickAsyncImageProvider or its subclasses. The QQuickAsyncImageProvider::requestImageResponse() method will be called for all image requests. Since Qt 5.6 (C++ enum variant: ImageResponse = 4
)
Trait Implementations
impl Clone for ImageType
[src]
impl Copy for ImageType
[src]
impl Debug for ImageType
[src]
impl Eq for ImageType
[src]
impl From<ImageType> for c_int
[src]
impl From<i32> for ImageType
[src]
impl PartialEq<ImageType> for ImageType
[src]
impl StructuralEq for ImageType
[src]
impl StructuralPartialEq for ImageType
[src]
Auto Trait Implementations
impl RefUnwindSafe for ImageType
impl Send for ImageType
impl Sync for ImageType
impl Unpin for ImageType
impl UnwindSafe for ImageType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut 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>,