pub struct QmlModuleRegistrationFiles {
pub rcc: PathBuf,
pub qmlcachegen: Vec<PathBuf>,
pub qmltyperegistrar: PathBuf,
pub plugin: PathBuf,
pub plugin_init: PathBuf,
pub include_path: Option<PathBuf>,
}Expand description
Paths to C++ files generated by QtBuild::register_qml_module
Fields§
§rcc: PathBufFile generated by rcc for the QML plugin. The compiled static library
must be linked with +whole-archive
or the linker will discard the generated static variables because they are not referenced from main.
qmlcachegen: Vec<PathBuf>Files generated by qmlcachegen. Must be linked with +whole-archive.
qmltyperegistrar: PathBufFile generated by qmltyperegistrar CLI tool.
plugin: PathBufFile with generated QQmlEngineExtensionPlugin that calls the function generated by qmltyperegistrar.
plugin_init: PathBufFile that automatically registers the QQmlExtensionPlugin at startup. Must be linked with +whole-archive.
include_path: Option<PathBuf>An optional include path that should be included
Auto Trait Implementations§
impl Freeze for QmlModuleRegistrationFiles
impl RefUnwindSafe for QmlModuleRegistrationFiles
impl Send for QmlModuleRegistrationFiles
impl Sync for QmlModuleRegistrationFiles
impl Unpin for QmlModuleRegistrationFiles
impl UnwindSafe for QmlModuleRegistrationFiles
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more