pub struct InterpreterConfigBuilder { /* private fields */ }Implementations§
Source§impl InterpreterConfigBuilder
impl InterpreterConfigBuilder
pub fn new( implementation: PythonImplementation, version: PythonVersion, ) -> InterpreterConfigBuilder
pub fn target_abi(self, target_abi: PythonAbi) -> InterpreterConfigBuilder
pub fn stable_abi(self, kind: StableAbi) -> InterpreterConfigBuilder
pub fn free_threaded(self) -> Result<InterpreterConfigBuilder>
pub fn lib_name( self, lib_name: impl Into<Option<String>>, ) -> InterpreterConfigBuilder
pub fn pointer_width( self, pointer_width: impl Into<Option<u32>>, ) -> InterpreterConfigBuilder
pub fn executable( self, executable: impl Into<Option<String>>, ) -> InterpreterConfigBuilder
pub fn suppress_build_script_link_lines( self, suppress_build_script_link_lines: bool, ) -> InterpreterConfigBuilder
pub fn extra_build_script_lines( self, extra_build_script_lines: Vec<String>, ) -> InterpreterConfigBuilder
pub fn lib_dir( self, lib_dir: impl Into<Option<String>>, ) -> InterpreterConfigBuilder
pub fn build_flags(self, build_flags: BuildFlags) -> InterpreterConfigBuilder
pub fn python_framework_prefix( self, python_framework_prefix: impl Into<Option<String>>, ) -> InterpreterConfigBuilder
pub fn finalize(self) -> Result<InterpreterConfig>
Auto Trait Implementations§
impl Freeze for InterpreterConfigBuilder
impl RefUnwindSafe for InterpreterConfigBuilder
impl Send for InterpreterConfigBuilder
impl Sync for InterpreterConfigBuilder
impl Unpin for InterpreterConfigBuilder
impl UnsafeUnpin for InterpreterConfigBuilder
impl UnwindSafe for InterpreterConfigBuilder
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