[−][src]Struct qt_qml::q_qml_incubator::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
.
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]
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]
fn clone(&self) -> IncubationMode
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for IncubationMode
[src]
impl Debug for IncubationMode
[src]
impl Eq for IncubationMode
[src]
impl From<IncubationMode> for c_int
[src]
fn from(value: IncubationMode) -> Self
[src]
impl From<i32> for IncubationMode
[src]
impl PartialEq<IncubationMode> for IncubationMode
[src]
fn eq(&self, other: &IncubationMode) -> bool
[src]
fn ne(&self, other: &IncubationMode) -> bool
[src]
impl StructuralEq for IncubationMode
[src]
impl StructuralPartialEq for IncubationMode
[src]
Auto Trait Implementations
impl RefUnwindSafe for IncubationMode
impl Send for IncubationMode
impl Sync for IncubationMode
impl Unpin for IncubationMode
impl UnwindSafe for IncubationMode
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>,