Struct python_packaging::resource::PythonExtensionModuleVariants [−][src]
pub struct PythonExtensionModuleVariants { /* fields omitted */ }
Expand description
Represents a collection of variants for a given Python extension module.
Implementations
Obtains the default / first variant of an extension module.
pub fn choose_variant<S: BuildHasher>(
&self,
variants: &HashMap<String, String, S>
) -> &PythonExtensionModule
pub fn choose_variant<S: BuildHasher>(
&self,
variants: &HashMap<String, String, S>
) -> &PythonExtensionModule
Choose a variant given preferences.
Trait Implementations
Returns the “default value” for a type. Read more
Creates a value from an iterator. Read more
Auto Trait Implementations
impl Send for PythonExtensionModuleVariants
impl Sync for PythonExtensionModuleVariants
impl Unpin for PythonExtensionModuleVariants
impl UnwindSafe for PythonExtensionModuleVariants
Blanket Implementations
Mutably borrows from an owned value. Read more