Struct pyoxidizerlib::project_building::BuildEnvironment [−][src]
pub struct BuildEnvironment { pub rust_environment: RustEnvironment, pub environment_vars: HashMap<String, String>, }
Describes an environment and settings used to build a project.
Fields
rust_environment: RustEnvironment
Describes the Rust toolchain we’re using.
environment_vars: HashMap<String, String>
Environment variables to use in build processes.
This contains a copy of environment variables that were present at object creation time, it isn’t just a supplemental list.
Implementations
impl BuildEnvironment
[src]
impl BuildEnvironment
[src]pub fn new(
env: &Environment,
logger: &Logger,
target_triple: &str,
artifacts_path: &Path,
target_python_path: &Path,
libpython_link_mode: LibpythonLinkMode,
libpython_filename: Option<&Path>,
apple_sdk_info: Option<&AppleSdkInfo>
) -> Result<Self>
[src]
pub fn new(
env: &Environment,
logger: &Logger,
target_triple: &str,
artifacts_path: &Path,
target_python_path: &Path,
libpython_link_mode: LibpythonLinkMode,
libpython_filename: Option<&Path>,
apple_sdk_info: Option<&AppleSdkInfo>
) -> Result<Self>
[src]Construct a new build environment performing validation of requirements.
Auto Trait Implementations
impl RefUnwindSafe for BuildEnvironment
impl Send for BuildEnvironment
impl Sync for BuildEnvironment
impl Unpin for BuildEnvironment
impl UnwindSafe for BuildEnvironment
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,