pub struct BuildCommandBuilder { /* private fields */ }Expand description
Builder pattern for creating a BuildCommand
Implementations§
Source§impl BuildCommandBuilder
impl BuildCommandBuilder
pub fn new() -> BuildCommandBuilder
pub fn with_recipe_path(self, recipe_path: PathBuf) -> Self
pub fn with_build_path(self, build_path: PathBuf) -> Self
pub fn with_install_path(self, install_path: PathBuf) -> Self
pub fn with_package_path(self, package_path: PathBuf) -> Self
pub fn with_source_path(self, source_path: PathBuf) -> Self
pub fn should_configure(self, should_configure: bool) -> Self
pub fn should_build(self, should_build: bool) -> Self
pub fn should_install(self, should_install: bool) -> Self
pub fn build(self) -> BuildCommand
Trait Implementations§
Source§impl Default for BuildCommandBuilder
impl Default for BuildCommandBuilder
Source§fn default() -> BuildCommandBuilder
fn default() -> BuildCommandBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BuildCommandBuilder
impl RefUnwindSafe for BuildCommandBuilder
impl Send for BuildCommandBuilder
impl Sync for BuildCommandBuilder
impl Unpin for BuildCommandBuilder
impl UnwindSafe for BuildCommandBuilder
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