pub struct Build { /* private fields */ }
Implementations§
Source§impl Build
impl Build
Sourcepub fn builder() -> BuildBuilder
pub fn builder() -> BuildBuilder
Create a new build builder
Sourcepub fn library_type(&self) -> LibraryType
pub fn library_type(&self) -> LibraryType
The target library tyoe which should be build
Sourcepub fn install_prefix(&self) -> &Option<PathBuf>
pub fn install_prefix(&self) -> &Option<PathBuf>
Get the target install prefix where the library should be installed into. This might be unset.
Sourcepub fn build_path(&self) -> &PathBuf
pub fn build_path(&self) -> &PathBuf
Get the temporary build path where you should build into
pub fn source(&self) -> &Box<dyn BuildSource>
pub fn build_hash(&self) -> u64
Sourcepub fn execute(&mut self) -> Result<BuildResult, BuildError>
pub fn execute(&mut self) -> Result<BuildResult, BuildError>
Execute the build and all its steps
Auto Trait Implementations§
impl Freeze for Build
impl !RefUnwindSafe for Build
impl !Send for Build
impl !Sync for Build
impl Unpin for Build
impl !UnwindSafe for Build
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