Struct pyo3::PythonVersionInfo [−][src]
pub struct PythonVersionInfo<'p> {
pub major: u8,
pub minor: u8,
pub patch: u8,
pub suffix: Option<&'p str>,
}Represents the major, minor, and patch (if any) versions of this interpreter.
See Python::version.
Fields
major: u8minor: u8patch: u8suffix: Option<&'p str>Trait Implementations
impl PartialOrd<(u8, u8, u8)> for PythonVersionInfo<'_>[src]
impl PartialOrd<(u8, u8, u8)> for PythonVersionInfo<'_>[src]fn partial_cmp(&self, other: &(u8, u8, u8)) -> Option<Ordering>[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl PartialOrd<(u8, u8)> for PythonVersionInfo<'_>[src]
impl PartialOrd<(u8, u8)> for PythonVersionInfo<'_>[src]