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
impl Eq for CrossCompileConfig
impl StructuralPartialEq for CrossCompileConfig
Auto Trait Implementations§
impl Freeze for CrossCompileConfig
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