[][src]Struct python_launcher::ExactVersion

pub struct ExactVersion {
    pub major: u16,
    pub minor: u16,
}

Fields

major: u16minor: u16

Methods

impl ExactVersion[src]

pub fn from_path(path: &Path) -> Result<Self>[src]

pub fn supports(&self, requested: RequestedVersion) -> bool[src]

Trait Implementations

impl Debug for ExactVersion[src]

impl Eq for ExactVersion[src]

impl From<ExactVersion> for RequestedVersion[src]

impl FromStr for ExactVersion[src]

type Err = Error

The associated error which can be returned from parsing.

impl Hash for ExactVersion[src]

impl Ord for ExactVersion[src]

impl PartialEq<ExactVersion> for ExactVersion[src]

impl PartialOrd<ExactVersion> for ExactVersion[src]

impl StructuralEq for ExactVersion[src]

impl StructuralPartialEq for ExactVersion[src]

impl ToString for ExactVersion[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,