pub enum BuildOpt {
CmplrDefine {
ident: String,
val: String,
},
CmplrInclDir {
path: String,
},
CmplrOther(String),
IncludeDefine {
ident: String,
val: String,
},
IncludeRaw(String),
IncludeRawEof(String),
}
Expand description
A build option used by ProgramBuilder.
Strings intended for use either by the compiler as a command line switch or for inclusion in the final build source code.
A few of the often used variants have constructors for convenience.
-
[FIXME] TODO: Explain how each variant is used.
-
[FIXME] TODO: Examples.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BuildOpt
impl RefUnwindSafe for BuildOpt
impl Send for BuildOpt
impl Sync for BuildOpt
impl Unpin for BuildOpt
impl UnwindSafe for BuildOpt
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