Struct pyo3_build_config::CrossCompileConfig
source · [−]pub struct CrossCompileConfig {
pub lib_dir: 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: PathBuf
The directory containing the Python library to link against.
Trait Implementations
sourceimpl Debug for CrossCompileConfig
impl Debug for CrossCompileConfig
sourceimpl PartialEq<CrossCompileConfig> for CrossCompileConfig
impl PartialEq<CrossCompileConfig> for CrossCompileConfig
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &CrossCompileConfig) -> bool
fn ne(&self, other: &CrossCompileConfig) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more