#[non_exhaustive]pub struct PythonAbi { /* private fields */ }Implementations§
Source§impl PythonAbi
impl PythonAbi
pub fn from_build_env( implementation: PythonImplementation, version: PythonVersion, stable_abi_version: Option<PythonVersion>, gil_disabled: bool, ) -> Result<PythonAbi>
Sourcepub fn implementation(&self) -> PythonImplementation
pub fn implementation(&self) -> PythonImplementation
The Python implementation flavor.
Serialized to implementation.
Sourcepub fn kind(&self) -> PythonAbiKind
pub fn kind(&self) -> PythonAbiKind
The ABI flavor
Serialized to kind
Sourcepub fn version(&self) -> PythonVersion
pub fn version(&self) -> PythonVersion
Python X.Y version. e.g. 3.9.
Serialized to version.
Trait Implementations§
impl Copy for PythonAbi
impl Eq for PythonAbi
impl StructuralPartialEq for PythonAbi
Auto Trait Implementations§
impl Freeze for PythonAbi
impl RefUnwindSafe for PythonAbi
impl Send for PythonAbi
impl Sync for PythonAbi
impl Unpin for PythonAbi
impl UnsafeUnpin for PythonAbi
impl UnwindSafe for PythonAbi
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