pub struct ParamsMacrosAndIncludeDirs<Ms: AsRef<OsStr>, Mi: IntoIterator<Item = Ms>, Is: AsRef<OsStr>, Ii: IntoIterator<Item = Is>>(pub Mi, pub Ii);
Expand description
Give this to compile()
or compile_for*()
to add some macro definitions (-D
//D
) and include directories
(-I
//I
).
Every macro value must be in the form MACRO=value
or MACRO
.
Empty iterators are no-ops.
Tuple Fields§
§0: Mi
§1: Ii
Auto Trait Implementations§
impl<Ms, Mi, Is, Ii> Freeze for ParamsMacrosAndIncludeDirs<Ms, Mi, Is, Ii>
impl<Ms, Mi, Is, Ii> RefUnwindSafe for ParamsMacrosAndIncludeDirs<Ms, Mi, Is, Ii>where
Mi: RefUnwindSafe,
Ii: RefUnwindSafe,
impl<Ms, Mi, Is, Ii> Send for ParamsMacrosAndIncludeDirs<Ms, Mi, Is, Ii>
impl<Ms, Mi, Is, Ii> Sync for ParamsMacrosAndIncludeDirs<Ms, Mi, Is, Ii>
impl<Ms, Mi, Is, Ii> Unpin for ParamsMacrosAndIncludeDirs<Ms, Mi, Is, Ii>
impl<Ms, Mi, Is, Ii> UnwindSafe for ParamsMacrosAndIncludeDirs<Ms, Mi, Is, Ii>where
Mi: UnwindSafe,
Ii: UnwindSafe,
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