[][src]Struct qt_qml::q_qml_image_provider_base::Flag

#[repr(transparent)]pub struct Flag(_);

Defines specific requirements or features of this image provider.

C++ enum: QQmlImageProviderBase::Flag.

C++ documentation:

Defines specific requirements or features of this image provider.

The Flags type is a typedef for QFlags<Flag>. It stores an OR combination of Flag values.

Methods

impl Flag[src]

pub fn to_int(&self) -> c_int[src]

impl Flag[src]

pub const ForceAsynchronousImageLoading: Flag[src]

Ensures that image requests to the provider are run in a separate thread, which allows the provider to spend as much time as needed on producing the image without blocking the main thread. (C++ enum variant: ForceAsynchronousImageLoading = 1)

Trait Implementations

impl<T: Into<QFlags<Flag>>> BitOr<T> for Flag[src]

type Output = QFlags<Flag>

The resulting type after applying the | operator.

impl Clone for Flag[src]

impl Copy for Flag[src]

impl Debug for Flag[src]

impl Eq for Flag[src]

impl From<Flag> for c_int[src]

impl From<Flag> for QFlags<Flag>[src]

impl From<i32> for Flag[src]

impl PartialEq<Flag> for Flag[src]

impl StructuralEq for Flag[src]

impl StructuralPartialEq for Flag[src]

Auto Trait Implementations

impl RefUnwindSafe for Flag

impl Send for Flag

impl Sync for Flag

impl Unpin for Flag

impl UnwindSafe for Flag

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.