pub struct QObjectHeaderOpts { /* private fields */ }
Expand description
Options for qobject_headers
QObjectHeaderOpts can be created using the From<impl AsRef<Path>>
trait.
QObjectHeaderOpts::from("path/to/header.h")
.moc_arguments(MocArguments::default());
Implementations§
Source§impl QObjectHeaderOpts
impl QObjectHeaderOpts
Sourcepub fn moc_arguments(self, moc_arguments: MocArguments) -> Self
pub fn moc_arguments(self, moc_arguments: MocArguments) -> Self
Set the moc arguments for this header
By default this is MocArguments::default()
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QObjectHeaderOpts
impl RefUnwindSafe for QObjectHeaderOpts
impl Send for QObjectHeaderOpts
impl Sync for QObjectHeaderOpts
impl Unpin for QObjectHeaderOpts
impl UnwindSafe for QObjectHeaderOpts
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