pub struct Options { /* private fields */ }Expand description
Represents command line options with which to install a package.
Implementations§
Source§impl Options
impl Options
Sourcepub fn ignore_dependencies(self) -> Self
pub fn ignore_dependencies(self) -> Self
Adds the --ignore-dependencies flag.
Sourcepub fn build_from_source(self) -> Self
pub fn build_from_source(self) -> Self
Adds the --build-from-source flag.
Sourcepub fn include_test(self) -> Self
pub fn include_test(self) -> Self
Adds the --include-test flag.
Sourcepub fn force_bottle(self) -> Self
pub fn force_bottle(self) -> Self
Adds the --force-bottle flag.
Sourcepub fn build_bottle(self) -> Self
pub fn build_bottle(self) -> Self
Adds the --build-bottle flag.
Sourcepub fn bottle_arch(self) -> Self
pub fn bottle_arch(self) -> Self
Adds the --bottle-arch flag.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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