[][src]Struct pyoxidizerlib::python_distributions::PythonDistributionCollection

pub struct PythonDistributionCollection { /* fields omitted */ }

Implementations

impl PythonDistributionCollection[src]

pub fn find_distribution(
    &self,
    target_triple: &str,
    flavor: &DistributionFlavor,
    python_major_minor_version: Option<&str>
) -> Option<PythonDistributionRecord>
[src]

Find a Python distribution given requirements.

target_triple is the Rust machine triple the distribution is built for. flavor is the type of Python distribution. python_major_minor_version is an optional X.Y version string being requested. If None, 3.8 is assumed.

pub fn iter(&self) -> impl Iterator<Item = &PythonDistributionRecord>[src]

Obtain records for all registered distributions.

pub fn all_target_triples(&self) -> impl Iterator<Item = &str>[src]

All target triples of distributions in this collection.

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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?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>,