[−][src]Struct qt_qml::q_qml_component::CompilationMode
Specifies whether the QQmlComponent should load the component immediately, or asynchonously.
C++ enum: QQmlComponent::CompilationMode
.
Specifies whether the QQmlComponent should load the component immediately, or asynchonously.
Methods
impl CompilationMode
[src]
impl CompilationMode
[src]
pub const PreferSynchronous: CompilationMode
[src]
Prefer loading/compiling the component immediately, blocking the thread. This is not always possible; for example, remote URLs will always load asynchronously. (C++ enum variant: PreferSynchronous = 0
)
pub const Asynchronous: CompilationMode
[src]
Load/compile the component in a background thread. (C++ enum variant: Asynchronous = 1
)
Trait Implementations
impl Clone for CompilationMode
[src]
fn clone(&self) -> CompilationMode
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for CompilationMode
[src]
impl Debug for CompilationMode
[src]
impl Eq for CompilationMode
[src]
impl From<CompilationMode> for c_int
[src]
fn from(value: CompilationMode) -> Self
[src]
impl From<i32> for CompilationMode
[src]
impl PartialEq<CompilationMode> for CompilationMode
[src]
fn eq(&self, other: &CompilationMode) -> bool
[src]
fn ne(&self, other: &CompilationMode) -> bool
[src]
impl StructuralEq for CompilationMode
[src]
impl StructuralPartialEq for CompilationMode
[src]
Auto Trait Implementations
impl RefUnwindSafe for CompilationMode
impl Send for CompilationMode
impl Sync for CompilationMode
impl Unpin for CompilationMode
impl UnwindSafe for CompilationMode
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>,