Enum PythonImplementation
pub enum PythonImplementation {
CPython,
PyPy,
MicroPython,
GraalPy,
RustPython,
}Expand description
Python implementation label.
Variants§
Implementations§
Trait Implementations§
§impl Clone for PythonImplementation
impl Clone for PythonImplementation
§fn clone(&self) -> PythonImplementation
fn clone(&self) -> PythonImplementation
Returns a duplicate 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 more§impl Debug for PythonImplementation
impl Debug for PythonImplementation
§impl Display for PythonImplementation
impl Display for PythonImplementation
§impl FromStr for PythonImplementation
impl FromStr for PythonImplementation
§type Err = PythonVersionParseError
type Err = PythonVersionParseError
The associated error which can be returned from parsing.
§fn from_str(
input: &str,
) -> Result<PythonImplementation, <PythonImplementation as FromStr>::Err>
fn from_str( input: &str, ) -> Result<PythonImplementation, <PythonImplementation as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for PythonImplementation
impl Hash for PythonImplementation
§impl Ord for PythonImplementation
impl Ord for PythonImplementation
§fn cmp(&self, other: &PythonImplementation) -> Ordering
fn cmp(&self, other: &PythonImplementation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for PythonImplementation
impl PartialEq for PythonImplementation
§impl PartialOrd for PythonImplementation
impl PartialOrd for PythonImplementation
impl Copy for PythonImplementation
impl Eq 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 UnsafeUnpin 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