[−][src]Struct qt_qml::q_qml_abstract_url_interceptor::DataType
Specifies where URL interception is taking place.
C++ enum: QQmlAbstractUrlInterceptor::DataType
.
Specifies where URL interception is taking place.
Because QML loads qmldir files for locating types, there are two URLs involved in loading a QML type. The URL of the (possibly implicit) qmldir used for locating the type and the URL of the file which defines the type. Intercepting both leads to either complex URL replacement or double URL replacements for the same file.
Methods
impl DataType
[src]
impl DataType
[src]
pub const QmlFile: DataType
[src]
The URL being intercepted is for a Qml file. Intercepting this, but not the Qmldir file, leaves the base dir of a QML file untouched and acts like replacing the file with another file. (C++ enum variant: QmlFile = 0
)
pub const JavaScriptFile: DataType
[src]
The URL being intercepted is an import for a Javascript file. (C++ enum variant: JavaScriptFile = 1
)
pub const QmldirFile: DataType
[src]
The URL being intercepted is for a Qmldir file. Intercepting this, but not the QmlFile, allows for swapping out entire sub trees. (C++ enum variant: QmldirFile = 2
)
pub const UrlString: DataType
[src]
The URL being intercepted is a url property in a QML file, and not being used to load a file through the engine. (C++ enum variant: UrlString = 4096
)
Trait Implementations
impl Clone for DataType
[src]
impl Copy for DataType
[src]
impl Debug for DataType
[src]
impl Eq for DataType
[src]
impl From<DataType> for c_int
[src]
impl From<i32> for DataType
[src]
impl PartialEq<DataType> for DataType
[src]
impl StructuralEq for DataType
[src]
impl StructuralPartialEq for DataType
[src]
Auto Trait Implementations
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnwindSafe for DataType
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>,