Struct pyoxidizerlib::python_distributions::PythonDistributionCollection [−][src]
pub struct PythonDistributionCollection { /* fields omitted */ }
Implementations
impl PythonDistributionCollection
[src]
impl PythonDistributionCollection
[src]pub fn find_distribution(
&self,
target_triple: &str,
flavor: &DistributionFlavor,
python_major_minor_version: Option<&str>
) -> Option<PythonDistributionRecord>
[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.9
is assumed.
pub fn iter(&self) -> impl Iterator<Item = &PythonDistributionRecord>
[src]
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]
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> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,