pub struct MocArguments { /* private fields */ }
Expand description
Arguments for a Qt moc invocation. See: QtBuild::moc
Implementations§
Source§impl MocArguments
impl MocArguments
Sourcepub fn uri(self, uri: String) -> Self
pub fn uri(self, uri: String) -> Self
Should be passed if the input_file is part of a QML module
Sourcepub fn include_path(self, include_path: PathBuf) -> Self
pub fn include_path(self, include_path: PathBuf) -> Self
Additional include path to pass to moc
Sourcepub fn include_paths(self, include_paths: Vec<PathBuf>) -> Self
pub fn include_paths(self, include_paths: Vec<PathBuf>) -> Self
Additional include paths to pass to moc.
Trait Implementations§
Source§impl Clone for MocArguments
impl Clone for MocArguments
Source§fn clone(&self) -> MocArguments
fn clone(&self) -> MocArguments
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for MocArguments
impl Default for MocArguments
Source§fn default() -> MocArguments
fn default() -> MocArguments
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MocArguments
impl RefUnwindSafe for MocArguments
impl Send for MocArguments
impl Sync for MocArguments
impl Unpin for MocArguments
impl UnwindSafe for MocArguments
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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