Struct pyo3_build_config::CrossCompileConfig
source · pub struct CrossCompileConfig {
pub lib_dir: Option<PathBuf>,
/* private fields */
}
Expand description
Configuration needed by PyO3 to cross-compile for a target platform.
Usually this is collected from the environment (i.e. PYO3_CROSS_*
and CARGO_CFG_TARGET_*
)
when a cross-compilation configuration is detected.
Fields§
§lib_dir: Option<PathBuf>
The directory containing the Python library to link against.
Trait Implementations§
source§impl Debug for CrossCompileConfig
impl Debug for CrossCompileConfig
source§impl PartialEq for CrossCompileConfig
impl PartialEq for CrossCompileConfig
source§fn eq(&self, other: &CrossCompileConfig) -> bool
fn eq(&self, other: &CrossCompileConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CrossCompileConfig
impl StructuralPartialEq for CrossCompileConfig
Auto Trait Implementations§
impl RefUnwindSafe for CrossCompileConfig
impl Send for CrossCompileConfig
impl Sync for CrossCompileConfig
impl Unpin for CrossCompileConfig
impl UnwindSafe for CrossCompileConfig
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