[][src]Struct qt_qml::q_qml_incubator::IncubationMode

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

Specifies the mode the incubator operates in. Regardless of the incubation mode, a QQmlIncubator will behave synchronously if the QQmlEngine does not have a QQmlIncubationController set.

C++ enum: QQmlIncubator::IncubationMode.

C++ documentation:

Specifies the mode the incubator operates in. Regardless of the incubation mode, a QQmlIncubator will behave synchronously if the QQmlEngine does not have a QQmlIncubationController set.

Methods

impl IncubationMode[src]

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

impl IncubationMode[src]

pub const Asynchronous: IncubationMode[src]

The object will be created asynchronously. (C++ enum variant: Asynchronous = 0)

pub const AsynchronousIfNested: IncubationMode[src]

If the object is being created in a context that is already part of an asynchronous creation, this incubator will join that existing incubation and execute asynchronously. The existing incubation will not become Ready until both it and this incubation have completed. Otherwise, the incubation will execute synchronously. (C++ enum variant: AsynchronousIfNested = 1)

pub const Synchronous: IncubationMode[src]

The object will be created synchronously. (C++ enum variant: Synchronous = 2)

Trait Implementations

impl Clone for IncubationMode[src]

impl Copy for IncubationMode[src]

impl Debug for IncubationMode[src]

impl Eq for IncubationMode[src]

impl From<IncubationMode> for c_int[src]

impl From<i32> for IncubationMode[src]

impl PartialEq<IncubationMode> for IncubationMode[src]

impl StructuralEq for IncubationMode[src]

impl StructuralPartialEq for IncubationMode[src]

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