pub enum PythonImplementation {
CPython,
PyPy,
GraalPy,
}
Variants§
Implementations§
Source§impl PythonImplementation
impl PythonImplementation
#[doc(hidden)] pub fn is_pypy(self) -> bool
#[doc(hidden)] pub fn is_graalpy(self) -> bool
#[doc(hidden)] pub fn from_soabi(soabi: &str) -> Result<Self>
Trait Implementations§
Source§impl Clone for PythonImplementation
impl Clone for PythonImplementation
Source§fn clone(&self) -> PythonImplementation
fn clone(&self) -> PythonImplementation
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PythonImplementation
impl Debug for PythonImplementation
Source§impl Display for PythonImplementation
impl Display for PythonImplementation
Source§impl Eq for PythonImplementation
impl Eq for PythonImplementation
#[doc(hidden)] fn assert_receiver_is_total_eq(&self)
Source§impl FromStr for PythonImplementation
impl FromStr for PythonImplementation
Source§impl PartialEq for PythonImplementation
impl PartialEq for PythonImplementation
impl Copy for PythonImplementation
impl StructuralPartialEq for PythonImplementation
Auto Trait Implementations§
impl Freeze for PythonImplementation
impl RefUnwindSafe for PythonImplementation
impl Send for PythonImplementation
impl Sync for PythonImplementation
impl Unpin for PythonImplementation
impl UnwindSafe for PythonImplementation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> SizedTypeProperties for T
impl<T> SizedTypeProperties for T
Source§#[doc(hidden)] const IS_ZST: bool = _
#[doc(hidden)] const IS_ZST: bool = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const LAYOUT: Layout = _
#[doc(hidden)] const LAYOUT: Layout = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const MAX_SLICE_LEN: usize = _
#[doc(hidden)] const MAX_SLICE_LEN: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)The largest safe length for a
[Self]
. Read more