pub struct ParamsMacros<Ms: AsRef<OsStr>, Mi: IntoIterator<Item = Ms>>(pub Mi);Expand description
Give this to compile() or compile_for*() to add some macro definitions (-D//D).
Every value must be in the form MACRO=value or MACRO. An empty iterator is a no-op.
Tuple Fields§
§0: MiAuto Trait Implementations§
impl<Ms, Mi> Freeze for ParamsMacros<Ms, Mi>where
Mi: Freeze,
impl<Ms, Mi> RefUnwindSafe for ParamsMacros<Ms, Mi>where
Mi: RefUnwindSafe,
impl<Ms, Mi> Send for ParamsMacros<Ms, Mi>where
Mi: Send,
impl<Ms, Mi> Sync for ParamsMacros<Ms, Mi>where
Mi: Sync,
impl<Ms, Mi> Unpin for ParamsMacros<Ms, Mi>where
Mi: Unpin,
impl<Ms, Mi> UnwindSafe for ParamsMacros<Ms, Mi>where
Mi: 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