pub struct InstallCommandBuilder<'a> { /* private fields */ }Expand description
“conan install” command arguments builder
Implementations§
Source§impl<'a> InstallCommandBuilder<'a>
impl<'a> InstallCommandBuilder<'a>
pub fn new() -> InstallCommandBuilder<'a>
Sourcepub fn with_profile(self, profile: &'a str) -> Self
pub fn with_profile(self, profile: &'a str) -> Self
Apply the specified profile to the host machine.
Sourcepub fn with_host_profile(self, profile: &'a str) -> Self
pub fn with_host_profile(self, profile: &'a str) -> Self
Apply the specified profile to the host machine.
Sourcepub fn with_build_profile(self, profile: &'a str) -> Self
pub fn with_build_profile(self, profile: &'a str) -> Self
Apply the specified profile to the build machine.
pub fn with_remote(self, remote: &'a str) -> Self
pub fn build_settings(self, build_settings: BuildSettings) -> Self
pub fn build_policy(self, build_policy: BuildPolicy) -> Self
pub fn with_options(self, opts: &[&'a str]) -> Self
pub fn recipe_path(self, recipe_path: &Path) -> Self
pub fn output_dir(self, output_dir: &Path) -> Self
pub fn update_check(self) -> Self
pub fn build(self) -> InstallCommand<'a>
Trait Implementations§
Source§impl<'a> Default for InstallCommandBuilder<'a>
impl<'a> Default for InstallCommandBuilder<'a>
Source§fn default() -> InstallCommandBuilder<'a>
fn default() -> InstallCommandBuilder<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for InstallCommandBuilder<'a>
impl<'a> RefUnwindSafe for InstallCommandBuilder<'a>
impl<'a> Send for InstallCommandBuilder<'a>
impl<'a> Sync for InstallCommandBuilder<'a>
impl<'a> Unpin for InstallCommandBuilder<'a>
impl<'a> UnwindSafe for InstallCommandBuilder<'a>
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