pub struct ImprovedBuild { /* private fields */ }Implementations§
Source§impl ImprovedBuild
impl ImprovedBuild
pub fn file<P: AsRef<Path>>(&mut self, p: P) -> &mut Self
pub fn files<P>(&mut self, p: P) -> &mut Self
pub fn link_dynamically<S: AsRef<str>>(&mut self, name: S) -> &mut Self
pub fn set_cc_builder(&mut self, cc_build: Build) -> &mut Self
pub fn emit_rerun_if_env_changed(&mut self, emit: bool) -> &mut Self
pub fn new() -> Self
pub fn define<'a, V: Into<Option<&'a str>>>( &mut self, var: &str, val: V, ) -> &mut Self
pub fn flag(&mut self, flag: &str) -> &mut Self
pub fn warnings(&mut self, warnings: bool) -> &mut Self
pub fn warnings_into_errors(&mut self, warnings_into_errors: bool) -> &mut Self
pub fn include<P: AsRef<Path>>(&mut self, dir: P) -> &mut Self
pub fn includes<P>(&mut self, dirs: P) -> &mut Self
pub fn try_compile_executable(&self, output: &str) -> Result<()>
pub fn cpp(&mut self, is_cpp: bool) -> &mut Self
Trait Implementations§
Source§impl Clone for ImprovedBuild
impl Clone for ImprovedBuild
Source§fn clone(&self) -> ImprovedBuild
fn clone(&self) -> ImprovedBuild
Returns a duplicate 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 Debug for ImprovedBuild
impl Debug for ImprovedBuild
Auto Trait Implementations§
impl Freeze for ImprovedBuild
impl RefUnwindSafe for ImprovedBuild
impl Send for ImprovedBuild
impl Sync for ImprovedBuild
impl Unpin for ImprovedBuild
impl UnsafeUnpin for ImprovedBuild
impl UnwindSafe for ImprovedBuild
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