pub struct BuildOptions<'a> {
pub manifest_path: Option<&'a Path>,
pub selected_package_name: Option<&'a str>,
pub rust_target_triples: Vec<&'a str>,
pub config_variant: Option<&'a str>,
pub overrides: DebConfigOverrides,
pub build_profile: BuildProfile,
pub debug: DebugSymbolOptions,
pub cargo_locking_flags: CargoLockingFlags,
pub multiarch: Multiarch,
pub cargo_build_cmd: Option<String>,
pub cargo_build_flags: Vec<String>,
}Fields§
§manifest_path: Option<&'a Path>§selected_package_name: Option<&'a str>§rust_target_triples: Vec<&'a str>§config_variant: Option<&'a str>§overrides: DebConfigOverrides§build_profile: BuildProfile§debug: DebugSymbolOptions§cargo_locking_flags: CargoLockingFlags§multiarch: Multiarch§cargo_build_cmd: Option<String>§cargo_build_flags: Vec<String>Trait Implementations§
Source§impl<'a> Clone for BuildOptions<'a>
impl<'a> Clone for BuildOptions<'a>
Source§fn clone(&self) -> BuildOptions<'a>
fn clone(&self) -> BuildOptions<'a>
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<'a> Debug for BuildOptions<'a>
impl<'a> Debug for BuildOptions<'a>
Source§impl<'a> Default for BuildOptions<'a>
impl<'a> Default for BuildOptions<'a>
Source§fn default() -> BuildOptions<'a>
fn default() -> BuildOptions<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for BuildOptions<'a>
impl<'a> RefUnwindSafe for BuildOptions<'a>
impl<'a> Send for BuildOptions<'a>
impl<'a> Sync for BuildOptions<'a>
impl<'a> Unpin for BuildOptions<'a>
impl<'a> UnwindSafe for BuildOptions<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more