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