[−][src]Struct pyoxidizerlib::python_distributions::PythonDistributionCollection
Implementations
impl PythonDistributionCollection
[src]
pub fn find_distribution(
&self,
target_triple: &str,
flavor: &DistributionFlavor,
python_major_minor_version: Option<&str>
) -> Option<PythonDistributionRecord>
[src]
&self,
target_triple: &str,
flavor: &DistributionFlavor,
python_major_minor_version: Option<&str>
) -> Option<PythonDistributionRecord>
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
impl RefUnwindSafe for PythonDistributionCollection
impl Send for PythonDistributionCollection
impl Sync for PythonDistributionCollection
impl Unpin for PythonDistributionCollection
impl UnwindSafe for PythonDistributionCollection
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,