Struct pyo3::PythonVersionInfo [−][src]
pub struct PythonVersionInfo<'p> { pub major: u8, pub minor: u8, pub patch: u8, pub suffix: Option<&'p str>, }
Expand description
Represents the major, minor, and patch (if any) versions of this interpreter.
See Python::version.
Fields
major: u8
minor: u8
patch: u8
suffix: Option<&'p str>
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<'p> RefUnwindSafe for PythonVersionInfo<'p>
impl<'p> Send for PythonVersionInfo<'p>
impl<'p> Sync for PythonVersionInfo<'p>
impl<'p> Unpin for PythonVersionInfo<'p>
impl<'p> UnwindSafe for PythonVersionInfo<'p>